From 9d10db21c218570d4e54ad242b2f4284b08f4d10 Mon Sep 17 00:00:00 2001 From: Kyle Squizzato Date: Thu, 31 Mar 2016 15:23:12 -0400 Subject: [PATCH] Added when: cephx to prevent waiting on keyring with cephx: false Signed-off-by: Kyle Squizzato --- roles/ceph-mon/tasks/ceph_keys.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/ceph-mon/tasks/ceph_keys.yml b/roles/ceph-mon/tasks/ceph_keys.yml index 5b81586e2..c6df4f4ae 100644 --- a/roles/ceph-mon/tasks/ceph_keys.yml +++ b/roles/ceph-mon/tasks/ceph_keys.yml @@ -4,6 +4,7 @@ - name: wait for client.admin key exists wait_for: path: /etc/ceph/{{ cluster }}.client.admin.keyring + when: cephx - name: create ceph rest api keyring when mon is not containerized command: ceph --cluster {{ cluster }} auth get-or-create client.restapi osd 'allow *' mon 'allow *' -o /etc/ceph/{{ cluster }}.client.restapi.keyring -- 2.39.5