mirror of https://github.com/ceph/ceph-ansible.git
Fix openstack config skipping
Previously, creating pools was skipped if cephx was disabled; instead, we should only skip key creation if cephx is disabled, and create pools any time openstack_config is true.pull/571/head
parent
e9f3e792b0
commit
4b29b2707f
|
@ -15,9 +15,7 @@
|
|||
groups[restapi_group_name] is defined
|
||||
|
||||
- include: openstack_config.yml
|
||||
when:
|
||||
openstack_config and
|
||||
cephx
|
||||
when: openstack_config
|
||||
|
||||
- name: find ceph keys
|
||||
shell: ls -1 /etc/ceph/*.keyring
|
||||
|
|
|
@ -15,3 +15,4 @@
|
|||
creates: /etc/ceph/ceph.{{ item.name }}.keyring
|
||||
with_items: openstack_keys
|
||||
changed_when: false
|
||||
when: cephx
|
||||
|
|
Loading…
Reference in New Issue