From e2b41a17c0108776f1f2d71e901d262e3ddc8c78 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Fri, 26 Jul 2019 17:33:07 +0200 Subject: [PATCH] mgr: fix a typo 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 (cherry picked from commit ec33ee7574172c6f946f1030c26b8b4a6eb285dc) --- roles/ceph-mgr/tasks/mgr_modules.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-mgr/tasks/mgr_modules.yml b/roles/ceph-mgr/tasks/mgr_modules.yml index 320e85467..332a9002b 100644 --- a/roles/ceph-mgr/tasks/mgr_modules.yml +++ b/roles/ceph-mgr/tasks/mgr_modules.yml @@ -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 -- 2.39.5