From f3fc97caa0ac2e1f6586de6a47caeb4ec1b36f22 Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Thu, 24 Oct 2019 10:36:58 -0400 Subject: [PATCH] openstack_config: fix docker exec command container_exec_cmd should be replace by docker_exec_cmd. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1765110 Signed-off-by: Dimitri Savineau --- roles/ceph-osd/tasks/openstack_config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-osd/tasks/openstack_config.yml b/roles/ceph-osd/tasks/openstack_config.yml index 071dc67e4..150e528ed 100644 --- a/roles/ceph-osd/tasks/openstack_config.yml +++ b/roles/ceph-osd/tasks/openstack_config.yml @@ -1,6 +1,6 @@ --- - name: wait for all osd to be up - command: "{{ container_exec_cmd | default('') }} ceph --cluster {{ cluster }} -s -f json" + command: "{{ hostvars[groups[mon_group_name][0]]['docker_exec_cmd'] | default('') }} ceph --cluster {{ cluster }} -s -f json" register: wait_for_all_osds_up retries: "{{ nb_retry_wait_osd_up }}" delay: "{{ delay_wait_osd_up }}" -- 2.39.5