diff --git a/roles/ceph-osd/tasks/openstack_config.yml b/roles/ceph-osd/tasks/openstack_config.yml index 8a16ca025..e1ea5de5d 100644 --- a/roles/ceph-osd/tasks/openstack_config.yml +++ b/roles/ceph-osd/tasks/openstack_config.yml @@ -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] }}"