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
Chris St. Pierre 2016-02-26 15:39:27 -06:00
parent e9f3e792b0
commit 4b29b2707f
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -15,3 +15,4 @@
creates: /etc/ceph/ceph.{{ item.name }}.keyring
with_items: openstack_keys
changed_when: false
when: cephx