From 7c99b6df6d8f0daa05ed8da987984d638af3a794 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Mon, 26 Nov 2018 14:10:19 +0100 Subject: [PATCH] update: fix a typo `hostvars[groups[mon_host]]['ansible_hostname']` seems to be a typo. That should be `hostvars[mon_host]['ansible_hostname']` Signed-off-by: Guillaume Abrioux --- infrastructure-playbooks/rolling_update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index 31f64d6f1..bfaceffdc 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -196,7 +196,7 @@ caps: mon: "allow profile {{ item.0 }}" cluster: "{{ cluster }}" - containerized: "{{ 'docker exec ceph-mon-' + hostvars[groups[mon_host]]['ansible_hostname'] if containerized_deployment else None }}" + containerized: "{{ 'docker exec ceph-mon-' + hostvars[mon_host]['ansible_hostname'] if containerized_deployment else None }}" when: - cephx delegate_to: "{{ mon_host }}" -- 2.39.5