Commit 79ff79c4 authored by Gaudenz Steinlin's avatar Gaudenz Steinlin Committed by Guillaume Abrioux
Browse files

openstack: use ceph_keyring_permissions by default

Otherwise this task fails if no permission is set on the item.
Previously the code omited the mode parameter if it was not set, but
this was lost with commit ab370b6a

.
Signed-off-by: default avatarGaudenz Steinlin <gaudenz.steinlin@cloudscale.ch>
parent 16cd183b
......@@ -49,7 +49,7 @@
content: "{{ item.0.stdout + '\n' }}"
owner: "{{ ceph_uid if containerized_deployment | bool else 'ceph' }}"
group: "{{ ceph_uid if containerized_deployment | bool else 'ceph' }}"
mode: "{{ item.0.item.mode }}"
mode: "{{ item.0.item.mode | default(ceph_keyring_permissions) }}"
with_nested:
- "{{ _osp_keys.results }}"
- "{{ groups[mon_group_name] }}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment