diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-07-27 19:28:13 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-07-27 19:28:13 +0000 |
| commit | 9aa0acb65b8ba2e894bf06be4c818eeff3bc3209 (patch) | |
| tree | 38e2926a594764c5685d48664f28596e8a7ddd7c /ansible/roles | |
| parent | d3c7c08062979ae41fc061c61d29ae9d51c56bb2 (diff) | |
| parent | a66f0076eab1907fb4a0ed68e76ac28ac9e03201 (diff) | |
| download | kolla-9aa0acb65b8ba2e894bf06be4c818eeff3bc3209.tar.gz kolla-9aa0acb65b8ba2e894bf06be4c818eeff3bc3209.zip | |
Merge "Consistent external Ceph configuration for Glance"
Diffstat (limited to 'ansible/roles')
| -rw-r--r-- | ansible/roles/glance/tasks/deploy.yml | 4 | ||||
| -rw-r--r-- | ansible/roles/glance/templates/glance-api.conf.j2 | 2 | ||||
| -rw-r--r-- | ansible/roles/glance/templates/glance-api.json.j2 | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/ansible/roles/glance/tasks/deploy.yml b/ansible/roles/glance/tasks/deploy.yml index 65df10888..0704c65bb 100644 --- a/ansible/roles/glance/tasks/deploy.yml +++ b/ansible/roles/glance/tasks/deploy.yml @@ -1,14 +1,14 @@ --- - include: ceph.yml when: - - (enable_ceph | bool) and (glance_enable_ceph | bool) + - (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_enable_ceph | bool) + - (enable_ceph | bool == False) and (glance_backend_ceph | bool) - inventory_hostname in groups['glance-api'] or inventory_hostname in groups['glance-registry'] diff --git a/ansible/roles/glance/templates/glance-api.conf.j2 b/ansible/roles/glance/templates/glance-api.conf.j2 index 6751161e8..0ed898cc6 100644 --- a/ansible/roles/glance/templates/glance-api.conf.j2 +++ b/ansible/roles/glance/templates/glance-api.conf.j2 @@ -41,7 +41,7 @@ memcached_servers = {% for host in groups['memcached'] %}{{ hostvars[host]['ansi flavor = keystone [glance_store] -{% if enable_ceph | bool and glance_enable_ceph | bool %} +{% if enable_ceph | bool and glance_backend_ceph | bool %} default_store = rbd stores = rbd rbd_store_user = glance diff --git a/ansible/roles/glance/templates/glance-api.json.j2 b/ansible/roles/glance/templates/glance-api.json.j2 index 1afd6929f..2d3c4cc9f 100644 --- a/ansible/roles/glance/templates/glance-api.json.j2 +++ b/ansible/roles/glance/templates/glance-api.json.j2 @@ -6,7 +6,7 @@ "dest": "/etc/glance/glance-api.conf", "owner": "glance", "perm": "0600" - }{% if glance_enable_ceph | bool %}, + }{% if glance_backend_ceph | bool %}, { "source": "{{ container_config_directory }}/ceph.*", "dest": "/etc/ceph/", |
