SF initial configurator | a26c41e | 2022-10-06 13:33:13 +0300 | [diff] [blame] | 1 | # This file is managed by ansible, do not edit directly |
| 2 | --- |
| 3 | - hosts: all |
| 4 | tasks: |
| 5 | - block: |
| 6 | - include_role: name=fetch-output |
| 7 | when: |
| 8 | - "ansible_connection != 'kubectl'" |
| 9 | - ansible_user_dir is defined |
| 10 | - block: |
| 11 | - include_role: name=fetch-output-openshift |
| 12 | when: |
| 13 | - "ansible_connection == 'kubectl'" |
| 14 | - ansible_user_dir is defined |
| 15 | - import_role: name=merge-output-to-logs |
| 16 | when: ansible_user_dir is defined |
| 17 | |
| 18 | - hosts: localhost |
| 19 | roles: |
| 20 | - role: add-fileserver |
| 21 | fileserver: "{{ site_pages }}" |
| 22 | |
| 23 | - hosts: "{{ site_pages.fqdn }}" |
| 24 | roles: |
| 25 | - role: upload-pages |