I always forget that this is without ansible_ prefix
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
933ae0aae1
commit
8dd249daac
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue