]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
mgr: fix a typo
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 26 Jul 2019 15:33:07 +0000 (17:33 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 29 Jul 2019 13:46:58 +0000 (15:46 +0200)
this tasks isn't using the right container_exec_cmd, that's delegating
to the wrong node.
Let's use the right fact to fix this command.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit ec33ee7574172c6f946f1030c26b8b4a6eb285dc)

roles/ceph-mgr/tasks/mgr_modules.yml

index 320e854673cd894ef16befaada52d49212317b49..332a9002b37555e6268136938ffee1e9bc4ffec8 100644 (file)
@@ -5,7 +5,7 @@
   when: dashboard_enabled | bool
 
 - name: wait for all mgr to be up
-  shell: "{{ container_exec_cmd | default('') }} ceph --cluster {{ cluster }} mgr dump -f json | python -c 'import sys, json; print(json.load(sys.stdin)[\"available\"])'"
+  shell: "{{ container_exec_cmd_mgr | default('') }} ceph --cluster {{ cluster }} mgr dump -f json | python -c 'import sys, json; print(json.load(sys.stdin)[\"available\"])'"
   register: mgr_dump
   retries: 30
   delay: 5