|
31 | 31 | notify: |
32 | 32 | - Restart nova init |
33 | 33 |
|
34 | | -- name: Deploy nova init container |
35 | | - tags: |
36 | | - - install |
37 | | - - nova |
38 | | - ansible.builtin.include_role: |
39 | | - name: osp.edpm.edpm_container_manage |
40 | | - vars: |
41 | | - edpm_container_manage_config: '/var/lib/openstack/config/containers' |
42 | | - edpm_container_manage_healthcheck_disabled: true |
43 | | - edpm_container_manage_config_patterns: 'nova_compute_init.json' |
44 | | - edpm_container_manage_clean_orphans: false |
| 34 | +- name: Deploy non-image mode Nova containers |
| 35 | + when: not ansible_local.bootc |
| 36 | + block: |
| 37 | + - name: Deploy nova init container |
| 38 | + tags: |
| 39 | + - install |
| 40 | + - nova |
| 41 | + ansible.builtin.include_role: |
| 42 | + name: osp.edpm.edpm_container_manage |
| 43 | + vars: |
| 44 | + edpm_container_manage_config: '/var/lib/openstack/config/containers' |
| 45 | + edpm_container_manage_healthcheck_disabled: true |
| 46 | + edpm_container_manage_config_patterns: 'nova_compute_init.json' |
| 47 | + edpm_container_manage_clean_orphans: false |
| 48 | + |
| 49 | + - name: Deploy nova container |
| 50 | + tags: |
| 51 | + - install |
| 52 | + - nova |
| 53 | + ansible.builtin.include_role: |
| 54 | + name: osp.edpm.edpm_container_manage |
| 55 | + vars: |
| 56 | + edpm_container_manage_config: '/var/lib/openstack/config/containers' |
| 57 | + edpm_container_manage_healthcheck_disabled: true |
| 58 | + edpm_container_manage_config_patterns: 'nova_compute.json' |
| 59 | + edpm_container_manage_clean_orphans: false |
| 60 | + |
| 61 | +- name: Deploy image mode Nova containers |
| 62 | + when: ansible_local.bootc |
| 63 | + block: |
| 64 | + - name: Deploy nova_compute container |
| 65 | + ansible.builtin.systemd_service: |
| 66 | + name: edpm-compute@nova_compute |
| 67 | + state: started |
| 68 | + enabled: true |
45 | 69 |
|
46 | | -- name: Deploy nova container |
47 | | - tags: |
48 | | - - install |
49 | | - - nova |
50 | | - ansible.builtin.include_role: |
51 | | - name: osp.edpm.edpm_container_manage |
52 | | - vars: |
53 | | - edpm_container_manage_config: '/var/lib/openstack/config/containers' |
54 | | - edpm_container_manage_healthcheck_disabled: true |
55 | | - edpm_container_manage_config_patterns: 'nova_compute.json' |
56 | | - edpm_container_manage_clean_orphans: false |
|
0 commit comments