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
+3 -3
View File
@@ -199,7 +199,7 @@
- samba-virusfilter
- name: (samba-config-server.yml) Configure AppArmor local profile for clamd (data paths)
template:
ansible.builtin.template:
src: etc/apparmor.d/local/usr.sbin.clamd.j2
dest: /etc/apparmor.d/local/usr.sbin.clamd
owner: root
@@ -253,7 +253,7 @@
- samba-server
- name: (samba-install.yml) /etc/samba/smb.conf
template:
ansible.builtin.template:
dest: /etc/samba/smb.conf
src: etc/samba/smb.conf.j2
owner: root
@@ -297,7 +297,7 @@
- samba-cron
- name: (samba-install.yml) Adjust configuration for script 'clean_samba_trash.sh'
template:
ansible.builtin.template:
dest: /root/bin/samba/conf/clean_samba_trash.conf
src: root/bin/samba/conf/clean_samba_trash.conf.j2
when: