Refactor template tasks to use ansible.builtin.template for consistency across playbooks
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
- groups['file_server']|string is search(inventory_hostname)
|
||||
|
||||
- name: (root_files_scripts.yml) Ensure script 'wakeup_lan.sh' is present
|
||||
template:
|
||||
ansible.builtin.template:
|
||||
src: "{{ role_path + '/files/' + nis_domain + '/root/bin/wakeup_lan.sh' }}"
|
||||
dest: /root/bin/wakeup_lan.sh
|
||||
owner: root
|
||||
|
||||
Reference in New Issue
Block a user