]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
common: do not regenerate initial mon keyring if cluster exists 1167/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 8 Dec 2016 15:58:22 +0000 (16:58 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 15 Dec 2016 13:39:56 +0000 (14:39 +0100)
commit471be5e629ecbba4be750db7837ff909d6e6a2e0
tree2108000db7412d17ec70c5cd282cf30935d64756
parentf868fd26b5eb5e14e3da4474c69eb20dcbb9a531
common: do not regenerate initial mon keyring if cluster exists

This commit solves the situation where you lost your fetch directory and
you are running ansible against an existing cluster. Since no fetch
directory is present the file containing the initial mon keyring
doesn't exist so we are generating a new one.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-common/tasks/facts.yml
roles/ceph-common/tasks/generate_cluster_fsid.yml
roles/ceph-mon/tasks/deploy_monitors.yml