From f6736e5420e3b37036c13ffe4870aad6f2d0d2a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Wed, 14 Dec 2016 21:08:18 +0100 Subject: [PATCH] common: show which file we are waiting for MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- roles/ceph-mon/tasks/ceph_keys.yml | 2 +- roles/ceph-mon/tasks/docker/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/ceph-mon/tasks/ceph_keys.yml b/roles/ceph-mon/tasks/ceph_keys.yml index be87f9828..0b64972ac 100644 --- a/roles/ceph-mon/tasks/ceph_keys.yml +++ b/roles/ceph-mon/tasks/ceph_keys.yml @@ -1,7 +1,7 @@ --- # NOTE (leseb): wait for mon discovery and quorum resolution # 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: path: /etc/ceph/{{ cluster }}.client.admin.keyring when: cephx diff --git a/roles/ceph-mon/tasks/docker/main.yml b/roles/ceph-mon/tasks/docker/main.yml index 8b716fc9f..62d111750 100644 --- a/roles/ceph-mon/tasks/docker/main.yml +++ b/roles/ceph-mon/tasks/docker/main.yml @@ -65,7 +65,7 @@ # 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 # properly retrieving key -- name: wait for client.admin key exists +- name: "wait for {{ cluster }}.client.admin.keyring exists" wait_for: path: /etc/ceph/{{ cluster }}.client.admin.keyring when: cephx