I always forget that this is without ansible_ prefix

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2018-08-20 21:05:15 +00:00
parent 933ae0aae1
commit 8dd249daac

View file

@ -44,6 +44,6 @@
- name: generate custom configs
template: src=grubhost.cfg dest="/var/lib/tftpboot/uefi/{{ item.install_mac }}"
with_items: "{{ groups['all'] }}"
when: "hostvars[item].install_noc == ansible_inventory_hostname"
when: "hostvars[item].install_noc == inventory_hostname"
tags:
- tftp_server