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