]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
mon/client: honor key mode when copying it to other nodes v3.1.0beta8
authorSébastien Han <seb@redhat.com>
Mon, 23 Apr 2018 08:02:16 +0000 (10:02 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 23 Apr 2018 16:34:58 +0000 (18:34 +0200)
commit12eebc31fbba5d4a6b18b977b3265d75b2e21fbf
tree8be928aebb1555ae2305d6b6683a3f0e8dbbfa45
parent71efa2eaf49c3dd4becff63a2fbe82f36249873a
mon/client: honor key mode when copying it to other nodes

The last mon creates the keys with a particular mode, while copying them
to the other mons (first and second) we must re-use the mode that was
set.

The same applies for the client node, the slurp preserves the initial
'item' so we can get the mode for the copy.

Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-client/tasks/create_users_keys.yml
roles/ceph-mon/tasks/openstack_config.yml