Refactor template tasks to use ansible.builtin.template for consistency across playbooks

This commit is contained in:
2026-07-30 23:47:37 +02:00
parent 91e40916c4
commit 81ef678904
21 changed files with 41 additions and 41 deletions
+1 -1
View File
@@ -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