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>
pull/5968/head
Guillaume Abrioux 2020-10-21 14:26:57 +02:00
parent 1cc9666c09
commit a822f77300
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@
dest: /etc/ceph/iscsi-gateway.cfg
config_type: ini
config_overrides: '{{ iscsi_conf_overrides }}'
mode: "0600"
notify: restart ceph rbd-target-api-gw
- name: set_fact container_exec_cmd