fix(synapse): look up hostvars by inventory_hostname
This commit is contained in:
parent
65614491b3
commit
cec3858f7d
@ -28,5 +28,5 @@
|
|||||||
label: "{{ item.name }}"
|
label: "{{ item.name }}"
|
||||||
when: >-2
|
when: >-2
|
||||||
item.when
|
item.when
|
||||||
and (item.name not in hostvars[ansible_host]
|
and (item.name not in hostvars[inventory_hostname]
|
||||||
or hostvars[ansible_host][item.name] | length == 0)
|
or hostvars[inventory_hostname][item.name] | length == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user