]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
take-over: use more precise ceph.conf detection 1155/head
authorSébastien Han <seb@redhat.com>
Tue, 6 Dec 2016 14:02:49 +0000 (15:02 +0100)
committerSébastien Han <seb@redhat.com>
Tue, 6 Dec 2016 15:02:48 +0000 (16:02 +0100)
commit9dac19520044aba11ff5dea166ed693c4b2f3635
tree11441d2b6b53339a4ecc733f4785e120c3154f67
parent61551fa37db1ddcc22a0929d2b2cb53eee19c870
take-over: use more precise ceph.conf detection

Prior to this patch we were just looking for any *.conf file which
sometimes could results in multiple matches. The new command looks for a
.conf file that must contain [global] and 'fsid' patterns. This will
definitely get us the ceph.conf file. We can not directly use ceph.conf
because of a different cluster name.

Signed-off-by: Sébastien Han <seb@redhat.com>
infrastructure-playbooks/take-over-existing-cluster.yml