]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-docker-common: apply 0600 to key permissions 1815/head
authorSébastien Han <seb@redhat.com>
Fri, 25 Aug 2017 16:13:09 +0000 (18:13 +0200)
committerSébastien Han <seb@redhat.com>
Fri, 25 Aug 2017 16:14:28 +0000 (18:14 +0200)
Keys should only be readable and writable by their respective owners and that's all.

Closes: https://github.com/ceph/ceph-ansible/issues/1760
Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-docker-common/tasks/fetch_configs.yml

index 805a81799b13775f246ba944e89e5e95c03d9ebd..03fa62ed05e7e189eec7d7dd6844d874461888d4 100644 (file)
@@ -47,7 +47,7 @@
     dest: "{{ item.0 }}"
     owner: root
     group: root
-    mode: 0644
+    mode: 0600
   changed_when: false
   with_together:
     - "{{ ceph_config_keys }}"