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
+2 -2
View File
@@ -7,7 +7,7 @@
# Remove old current configurations if exists
- name: Upload Pure-FTPd global configuration file.
template:
ansible.builtin.template:
src: etc/default/pure-ftpd-common.j2
dest: "{{ pureftpd_global_config_file }}"
owner: root
@@ -35,7 +35,7 @@
# write new configuration
- name: (pure-ftpd-install.yml) Write configuration.
template:
ansible.builtin.template:
src: etc/pure-ftpd/conf/config.j2
dest: "{{ pureftpd_config_conf_dir }}/{{ item.key }}"
owner: root
+1 -1
View File
@@ -12,7 +12,7 @@
update_cache: yes
- name: (pure-ftpd-install.yml) Upload Pure-FTPd global configuration file.
template:
ansible.builtin.template:
src: etc/default/pure-ftpd-common.j2
dest: "{{ pureftpd_global_config_file }}"
owner: root