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
John Fulton 2017-11-16 11:29:59 -05:00
parent cc264d6ba6
commit d73f751b63
1 changed files with 1 additions and 1 deletions

View File

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