From 2c01de435055095bc5189cd9fb8663c9eecdcfa1 Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Tue, 22 Aug 2017 13:06:01 +0200 Subject: [PATCH] Default cluster to ceph in switch to containers --- ...tch-from-non-containerized-to-containerized-ceph-daemons.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5