]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph_key: add fetch_initial_keys capability
authorSébastien Han <seb@redhat.com>
Tue, 23 Oct 2018 16:38:40 +0000 (18:38 +0200)
committerSébastien Han <seb@redhat.com>
Fri, 9 Nov 2018 11:45:52 +0000 (12:45 +0100)
commit53910de43be96fa8d255bcde3c06045525e8241a
tree7314547c523b690478d918e905f5424666b30e05
parent5ba7d1671ed421995e263f6abf6c2ccffac12422
ceph_key: add fetch_initial_keys capability

This is needed for Nautilus since the ceph-create-keys script goes away.
(https://github.com/ceph/ceph/pull/21305)
Now the module if called with 'state: fetch_initial_keys' will lookup
keys generated by the monitor and write them down on the filesystem to
the right location (/etc/ceph and /var/lib/ceph/boostrap*).
This is not applicable to container since keys are generated by the
container only.

Signed-off-by: Sébastien Han <seb@redhat.com>
infrastructure-playbooks/ceph-keys.yml
library/ceph_key.py
library/test_ceph_key.py
roles/ceph-config/tasks/create_ceph_initial_dirs.yml
roles/ceph-mon/tasks/ceph_keys.yml