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: localhost |
| 4 | tasks: |
| 5 | - block: |
| 6 | - import_role: name=emit-job-header |
| 7 | # This depends-on https://review.openstack.org/578234 |
| 8 | - import_role: name=log-inventory |
| 9 | vars: |
| 10 | zuul_log_url: "https://spfactory.storpool.com/logs" |
| 11 | |
| 12 | - hosts: all |
| 13 | tasks: |
| 14 | - include_role: name=start-zuul-console |
| 15 | - block: |
| 16 | - include_role: name=validate-host |
| 17 | - include_role: name=prepare-workspace |
| 18 | - include_role: name=add-build-sshkey |
| 19 | when: "ansible_connection != 'kubectl'" |
| 20 | - block: |
| 21 | - include_role: name=prepare-workspace-openshift |
| 22 | - include_role: name=remove-zuul-sshkey |
| 23 | run_once: true |
| 24 | when: "ansible_connection == 'kubectl'" |
| 25 | - import_role: name=ensure-output-dirs |
| 26 | when: ansible_user_dir is defined |