mirror of https://github.com/ceph/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 <gabrioux@redhat.com>
(cherry picked from commit 7c99b6df6d
)
pull/3369/head
v3.1.11
parent
9022f83450
commit
741ef74629
|
@ -189,7 +189,7 @@
|
||||||
caps:
|
caps:
|
||||||
mon: "allow profile {{ item.0 }}"
|
mon: "allow profile {{ item.0 }}"
|
||||||
cluster: "{{ cluster }}"
|
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:
|
when:
|
||||||
- cephx
|
- cephx
|
||||||
delegate_to: "{{ mon_host }}"
|
delegate_to: "{{ mon_host }}"
|
||||||
|
|
Loading…
Reference in New Issue