mirror of https://github.com/ceph/ceph-ansible.git
iscsi: fix ownership on iscsi-gateway.cfg
This file is currently deployed with '0644' ownership making this file
readable by any user on the system.
Since it contains sensitive information it should be readable by the
owner only.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1890119
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit a822f77300
)
pull/5987/head
parent
a6dac8c93d
commit
3eed44907b
|
@ -44,6 +44,7 @@
|
||||||
dest: /etc/ceph/iscsi-gateway.cfg
|
dest: /etc/ceph/iscsi-gateway.cfg
|
||||||
config_type: ini
|
config_type: ini
|
||||||
config_overrides: '{{ iscsi_conf_overrides }}'
|
config_overrides: '{{ iscsi_conf_overrides }}'
|
||||||
|
mode: "0600"
|
||||||
notify: restart ceph rbd-target-api-gw
|
notify: restart ceph rbd-target-api-gw
|
||||||
|
|
||||||
- name: set_fact container_exec_cmd
|
- name: set_fact container_exec_cmd
|
||||||
|
|
Loading…
Reference in New Issue