Use the value of this

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2018-08-20 21:02:59 +00:00
parent d9264225b5
commit d9d83e046b

View file

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