2dbfe74fe4
Previously the glance ceph backend was only being configured during the deploy and reconfigure commands. This change ensures that it is configured during the upgrade and genconfig commands as well. Some of the related host/group selection logic has been cleaned up, as it was a little tautolgous. Change-Id: Ibfc2bfaaf2e24fb3a0697925e7723794046787fa Closes-Bug: #1728060
22 lines
523 B
YAML
22 lines
523 B
YAML
---
|
|
- include: register.yml
|
|
when: inventory_hostname in groups['glance-api']
|
|
|
|
- include: config.yml
|
|
|
|
- include: clone.yml
|
|
when:
|
|
- glance_dev_mode | bool
|
|
- inventory_hostname in groups['glance-api'] or
|
|
inventory_hostname in groups['glance-registry']
|
|
|
|
- include: bootstrap.yml
|
|
when: inventory_hostname in groups['glance-api']
|
|
|
|
- name: Flush handlers
|
|
meta: flush_handlers
|
|
|
|
- include: check.yml
|
|
when: inventory_hostname in groups['glance-api'] or
|
|
inventory_hostname in groups['glance-registry']
|