mirror of https://github.com/ceph/ceph-ansible.git
common: show which file we are waiting for
We can now see the name of the file we are waiting for, depending on the cluster name this will change. Signed-off-by: Sébastien Han <seb@redhat.com>pull/1187/head
parent
1b5afef9ed
commit
f6736e5420
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
# NOTE (leseb): wait for mon discovery and quorum resolution
|
# NOTE (leseb): wait for mon discovery and quorum resolution
|
||||||
# the admin key is not instantaneously created so we have to wait a bit
|
# the admin key is not instantaneously created so we have to wait a bit
|
||||||
- name: wait for client.admin key exists
|
- name: "wait for {{ cluster }}.client.admin.keyring exists"
|
||||||
wait_for:
|
wait_for:
|
||||||
path: /etc/ceph/{{ cluster }}.client.admin.keyring
|
path: /etc/ceph/{{ cluster }}.client.admin.keyring
|
||||||
when: cephx
|
when: cephx
|
||||||
|
|
|
@ -65,7 +65,7 @@
|
||||||
# NOTE: if we don't wait we will attempt to copy config to ansible host
|
# NOTE: if we don't wait we will attempt to copy config to ansible host
|
||||||
# before admin key is ready, preventing future daemons e.g. ceph-mds from
|
# before admin key is ready, preventing future daemons e.g. ceph-mds from
|
||||||
# properly retrieving key
|
# properly retrieving key
|
||||||
- name: wait for client.admin key exists
|
- name: "wait for {{ cluster }}.client.admin.keyring exists"
|
||||||
wait_for:
|
wait_for:
|
||||||
path: /etc/ceph/{{ cluster }}.client.admin.keyring
|
path: /etc/ceph/{{ cluster }}.client.admin.keyring
|
||||||
when: cephx
|
when: cephx
|
||||||
|
|
Loading…
Reference in New Issue