]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Added when: cephx to prevent waiting on keyring with cephx: false 671/head
authorKyle Squizzato <ksquizz@gmail.com>
Thu, 31 Mar 2016 19:23:12 +0000 (15:23 -0400)
committerKyle Squizzato <ksquizz@gmail.com>
Fri, 1 Apr 2016 03:30:36 +0000 (23:30 -0400)
Signed-off-by: Kyle Squizzato <ksquizz@gmail.com>
roles/ceph-mon/tasks/ceph_keys.yml

index 5b81586e2b606ddd505fe0676d93812a591701f2..c6df4f4ae58d3ccd456ae47e268190cec830f3ed 100644 (file)
@@ -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