a66f0076ea
Made glance follow the <service>_backend_ceph configuration pattern. Change-Id: I7bc2b3b35d96bd297d520750dccd7333fa68d941 Closes-Bug: #1605962
32 lines
1011 B
YAML
32 lines
1011 B
YAML
---
|
|
- include: ceph.yml
|
|
when:
|
|
- (enable_ceph | bool) and (glance_backend_ceph | bool)
|
|
- inventory_hostname in groups['ceph-mon'] or
|
|
inventory_hostname in groups['glance-api'] or
|
|
inventory_hostname in groups['glance-registry']
|
|
|
|
- include: external_ceph.yml
|
|
when:
|
|
- (enable_ceph | bool == False) and (glance_backend_ceph | bool)
|
|
- inventory_hostname in groups['glance-api'] or
|
|
inventory_hostname in groups['glance-registry']
|
|
|
|
- include: register.yml
|
|
when: inventory_hostname in groups['glance-api']
|
|
|
|
- include: config.yml
|
|
when: inventory_hostname in groups['glance-api'] or
|
|
inventory_hostname in groups['glance-registry']
|
|
|
|
- include: bootstrap.yml
|
|
when: inventory_hostname in groups['glance-api']
|
|
|
|
- include: start.yml
|
|
when: inventory_hostname in groups['glance-api'] or
|
|
inventory_hostname in groups['glance-registry']
|
|
|
|
- include: check.yml
|
|
when: inventory_hostname in groups['glance-api'] or
|
|
inventory_hostname in groups['glance-registry']
|