Closed techietubby closed 3 months ago
does /ansible/foreman/roles/hammer/files/kickstart_secure.erb
exist on the foreman.xxx.com
host?
Your ls
shows it on proxmox
, but is that the same thing?
The module looks for the file on the system it's executed against, and that is foreman.xxx.com
.
Hi, Yes I found this eventually. The strange thing was I then got another error and it turned-out to be a typo in the .ERB file.
SUMMARY
I can manually create the template using the UI but not with Ansible. The variables in my playbook work for all other tasks.
ISSUE TYPE
ANSIBLE VERSION
COLLECTION VERSION
KATELLO/FOREMAN VERSION
STEPS TO REPRODUCE
EXPECTED RESULTS
Partition table is created.
ACTUAL RESULTS
ls /ansible/foreman/roles/hammer/files/kickstart_secure.erb finds the file.