From 2cd6c6beb07ced57498d334af9dc26b2a4beea49 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Mon, 20 Aug 2018 21:07:18 +0000 Subject: [PATCH] I had a .j2 in the file name Signed-off-by: Patrick Uiterwijk --- roles/tftp_server/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/tftp_server/tasks/main.yml b/roles/tftp_server/tasks/main.yml index d3ba72696d..6b1fc27cf9 100644 --- a/roles/tftp_server/tasks/main.yml +++ b/roles/tftp_server/tasks/main.yml @@ -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: