41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
---
|
|
- include_tasks: ceph.yml
|
|
when:
|
|
- enable_ceph | bool and nova_backend == "rbd"
|
|
- inventory_hostname in groups['ceph-mon'] or
|
|
inventory_hostname in groups['compute'] or
|
|
inventory_hostname in groups['nova-api'] or
|
|
inventory_hostname in groups['nova-conductor'] or
|
|
inventory_hostname in groups['nova-consoleauth'] or
|
|
inventory_hostname in groups['nova-novncproxy'] or
|
|
inventory_hostname in groups['nova-scheduler']
|
|
|
|
- include_tasks: external_ceph.yml
|
|
when:
|
|
- not enable_ceph | bool and (nova_backend == "rbd" or cinder_backend_ceph | bool)
|
|
- inventory_hostname in groups['compute']
|
|
|
|
- include_tasks: register.yml
|
|
when: inventory_hostname in groups['nova-api']
|
|
|
|
- include_tasks: bootstrap_xenapi.yml
|
|
when:
|
|
- inventory_hostname in groups['compute']
|
|
- nova_compute_virt_type == "xenapi"
|
|
|
|
- include_tasks: config.yml
|
|
|
|
- include_tasks: config-nova-fake.yml
|
|
when:
|
|
- enable_nova_fake | bool
|
|
- inventory_hostname in groups['compute']
|
|
|
|
- include_tasks: bootstrap.yml
|
|
when: inventory_hostname in groups['nova-api'] or
|
|
inventory_hostname in groups['compute']
|
|
|
|
- name: Flush handlers
|
|
meta: flush_handlers
|
|
|
|
- include_tasks: simple_cell_setup.yml
|