|
| 1 | +- name: Prelude |
| 2 | + hosts: local |
| 3 | + gather_facts: false |
| 4 | + module_defaults: |
| 5 | + ansible.builtin.shell: |
| 6 | + executable: /bin/bash |
| 7 | + roles: |
| 8 | + - prelude_local |
| 9 | + |
| 10 | +- name: Cleanup |
| 11 | + hosts: local |
| 12 | + gather_facts: false |
| 13 | + module_defaults: |
| 14 | + ansible.builtin.shell: |
| 15 | + executable: /bin/bash |
| 16 | + roles: |
| 17 | + - pcp_cleanup |
| 18 | + |
| 19 | +- name: Common pre-adoption tasks |
| 20 | + import_playbook: _before_adoption.yaml |
| 21 | + |
| 22 | +- name: Adoption |
| 23 | + hosts: local |
| 24 | + gather_facts: false |
| 25 | + force_handlers: true |
| 26 | + vars: |
| 27 | + # Ceph backend configuration |
| 28 | + glance_backend: ceph |
| 29 | + manila_backend: cephfs |
| 30 | + cinder_volume_backend: ceph |
| 31 | + cinder_backup_backend: ceph |
| 32 | + nova_libvirt_backend: ceph |
| 33 | + # Ironic adoption configuration |
| 34 | + ironic_adoption: true |
| 35 | + prelaunch_test_instance_scripts: |
| 36 | + - pre_launch_ironic.bash |
| 37 | + module_defaults: |
| 38 | + ansible.builtin.shell: |
| 39 | + executable: /bin/bash |
| 40 | + roles: |
| 41 | + - role: development_environment |
| 42 | + tags: |
| 43 | + - development_environment |
| 44 | + - role: tls_adoption |
| 45 | + tags: |
| 46 | + - tls_adoption |
| 47 | + when: enable_tlse|default(false) |
| 48 | + - role: backend_services |
| 49 | + tags: |
| 50 | + - backend_services |
| 51 | + - role: ceph_backend_configuration |
| 52 | + tags: |
| 53 | + - ceph_backend_configuration |
| 54 | + - role: get_services_configuration |
| 55 | + tags: |
| 56 | + - get_services_configuration |
| 57 | + - role: stop_openstack_services |
| 58 | + tags: |
| 59 | + - stop_openstack_services |
| 60 | + - role: mariadb_copy |
| 61 | + tags: |
| 62 | + - mariadb_copy |
| 63 | + - role: ovn_adoption |
| 64 | + tags: |
| 65 | + - ovn_adoption |
| 66 | + - role: keystone_adoption |
| 67 | + tags: |
| 68 | + - keystone_adoption |
| 69 | + - role: barbican_adoption |
| 70 | + tags: |
| 71 | + - barbican_adoption |
| 72 | + - role: neutron_adoption |
| 73 | + tags: |
| 74 | + - neutron_adoption |
| 75 | + - role: swift_adoption |
| 76 | + tags: |
| 77 | + - swift_adoption |
| 78 | + - role: glance_adoption |
| 79 | + tags: |
| 80 | + - glance_adoption |
| 81 | + - role: placement_adoption |
| 82 | + tags: |
| 83 | + - placement_adoption |
| 84 | + - role: nova_adoption |
| 85 | + tags: |
| 86 | + - nova_adoption |
| 87 | + - role: cinder_adoption |
| 88 | + tags: |
| 89 | + - cinder_adoption |
| 90 | + - role: octavia_adoption |
| 91 | + tags: |
| 92 | + - octavia_adoption |
| 93 | + - role: horizon_adoption |
| 94 | + tags: |
| 95 | + - horizon_adoption |
| 96 | + - role: heat_adoption |
| 97 | + tags: |
| 98 | + - heat_adoption |
| 99 | + - role: telemetry_adoption |
| 100 | + tags: |
| 101 | + - telemetry_adoption |
| 102 | + when: telemetry_adoption|default(true) |
| 103 | + - role: autoscaling_adoption |
| 104 | + tags: |
| 105 | + - autoscaling_adoption |
| 106 | + when: telemetry_adoption|default(true) |
| 107 | + - role: manila_adoption |
| 108 | + tags: |
| 109 | + - manila_adoption |
| 110 | + - role: ironic_adoption |
| 111 | + tags: |
| 112 | + - ironic_adoption |
| 113 | + - role: stop_remaining_services |
| 114 | + tags: |
| 115 | + - stop_remaining_services |
| 116 | + - role: pull_openstack_configuration |
| 117 | + tags: |
| 118 | + - pull_openstack_configuration |
| 119 | + when: dataplane_adoption|default(true) |
| 120 | + - role: dataplane_adoption |
| 121 | + tags: |
| 122 | + - dataplane_adoption |
| 123 | + when: dataplane_adoption|default(true) |
| 124 | + |
| 125 | +- name: Stop the ping test |
| 126 | + import_playbook: _stop_ping_test.yaml |
0 commit comments