mirror of https://github.com/ceph/ceph-ansible.git
Make openstack_keys param support no acls list
A recent change [1] required that the openstack_keys
param always containe an acls list. However, it's
possible it might not contain that list. Thus, this
param sets a default for that list to be empty if it
is not in the structure as defined by the user.
[1] d65cbaa539
pull/2189/head
parent
cc264d6ba6
commit
d73f751b63
|
@ -69,6 +69,6 @@
|
|||
- "{{ openstack_keys }}"
|
||||
delegate_to: "{{ item.0 }}"
|
||||
when:
|
||||
- item.1.acls | length > 0
|
||||
- item.1.get('acls', []) | length > 0
|
||||
- openstack_config
|
||||
- cephx
|
||||
|
|
Loading…
Reference in New Issue