I had a .j2 in the file name

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2018-08-20 21:07:18 +00:00
parent f671e1c428
commit 2cd6c6beb0

View file

@ -42,7 +42,7 @@
- tftp_server
- 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'] }}"
when: "hostvars[item].install_noc == inventory_hostname"
tags: