]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Default cluster to ceph in switch to containers 1779/head
authorGiulio Fidente <gfidente@redhat.com>
Tue, 22 Aug 2017 11:06:01 +0000 (13:06 +0200)
committerGiulio Fidente <gfidente@redhat.com>
Tue, 22 Aug 2017 11:13:36 +0000 (13:13 +0200)
infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml

index 415519d1fb85d5a0a8b71760246f39cb33bfb82f..a73054871c1c3c418813bff8c96e6e9121dd2168 100644 (file)
 
   - name: waiting for the monitor to join the quorum...
     shell: |
-      ceph -s  --cluster {{ cluster }} | grep monmap | sed 's/.*quorum//' | egrep -sq {{ ansible_hostname }}
+      ceph -s  --cluster {{ cluster|default('ceph') }} | grep monmap | sed 's/.*quorum//' | egrep -sq {{ ansible_hostname }}
     register: result
     until: result.rc == 0
     retries: 5