From: Guillaume Abrioux Date: Mon, 26 Nov 2018 13:10:19 +0000 (+0100) Subject: update: fix a typo X-Git-Tag: v4.0.0beta1~195 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=7c99b6df6d8f0daa05ed8da987984d638af3a794;p=ceph-ansible.git 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 --- 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 }}"