Default cluster to ceph in switch to containers

pull/1779/head
Giulio Fidente 2017-08-22 13:06:01 +02:00
parent f0423b1804
commit 2c01de4350
1 changed files with 1 additions and 1 deletions

View File

@ -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