From: Giulio Fidente Date: Tue, 22 Aug 2017 11:06:01 +0000 (+0200) Subject: Default cluster to ceph in switch to containers X-Git-Tag: v3.0.0rc4~31^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2c01de435055095bc5189cd9fb8663c9eecdcfa1;p=ceph-ansible.git Default cluster to ceph in switch to containers --- diff --git a/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml b/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml index 415519d1f..a73054871 100644 --- a/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml +++ b/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml @@ -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