I had a .j2 in the file name
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
f671e1c428
commit
2cd6c6beb0
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
||||||
- tftp_server
|
- tftp_server
|
||||||
|
|
||||||
- name: generate custom configs
|
- name: generate custom configs
|
||||||
template: src=grubhost.cfg dest="/var/lib/tftpboot/uefi/{{ hostvars[item].install_mac }}"
|
template: src=grubhost.cfg.j2 dest="/var/lib/tftpboot/uefi/{{ hostvars[item].install_mac }}"
|
||||||
with_items: "{{ groups['all'] }}"
|
with_items: "{{ groups['all'] }}"
|
||||||
when: "hostvars[item].install_noc == inventory_hostname"
|
when: "hostvars[item].install_noc == inventory_hostname"
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue