mirror of https://github.com/ceph/ceph-ansible.git
Default cluster to ceph in switch to containers
parent
f0423b1804
commit
2c01de4350
|
@ -155,7 +155,7 @@
|
|||
|
||||
- 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
|
||||
|
|
Loading…
Reference in New Issue