f16a45180c
Most simple implementation of external ceph support. We use INI merge to configure RBD backend for Glance and copy ceph.conf and keyring provided by the user into the container. Set_configs.py had to be extended to support globbing (wildcards) in order to copy ceph keyring file which is named depending on the cephx user name. Partially-Implements Blueprint: external-ceph Partially-Implements Blueprint: selectable-ceph Change-Id: Iacadbd8ec9956e9f075206ea03b28f044cb6ffb8
32 lines
1009 B
YAML
32 lines
1009 B
YAML
---
|
|
- include: ceph.yml
|
|
when:
|
|
- (enable_ceph | bool) and (glance_enable_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_enable_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']
|