Align extra conf files mode

When placing ceph_extra_confs files to their destination, they're being
assigned mode 0644 with root:root ownership. However, when we're overriding
some sections in config files, we also accidentally change mode of these
files to 0640 which makes issues while reading them by clients and
makes role not idempotent.

This issue was introduced by this commit [1]

[1] https://review.opendev.org/c/openstack/openstack-ansible-ceph_client/+/888216

Change-Id: I5fe0fff9616e0829b83f61bd1b062cfd978543d6
This commit is contained in:
Dmitriy Rabotyagov 2024-01-18 09:55:37 +01:00
parent 6bb5f7dcdb
commit 721e96f145
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
section: "client.{{ item.client_name }}"
option: keyring
value: "{{ item.keyring_dest }}"
mode: "0640"
mode: "0644"
with_items: "{{ ceph_extra_confs }}"
when:
- item.src is defined