Use Ansible defaults to insert comments

Enable vscodium code highlighting for some files
This commit is contained in:
phil 2024-03-27 17:39:16 +01:00
parent 4ad48694d5
commit 8c79f8b687
30 changed files with 34 additions and 30 deletions

View file

@ -9,7 +9,7 @@
- name: "Postfix | Copy master.cf"
ansible.builtin.template:
src: postfix/master.cf
src: postfix/master.cf.j2
dest: /etc/postfix/master.cf
mode: "0644"
notify: restart postfix

View file

@ -13,7 +13,7 @@
- name: "TLS-help | Copy allowlist"
ansible.builtin.template:
src: postfix/allowlist.txt
src: postfix/allowlist.txt.j2
dest: /opt/mail-tls-helper/allowlist.txt
mode: "0644"
@ -63,6 +63,6 @@
- name: "TLS-helper | Create new logrotate configuration"
ansible.builtin.template:
src: logrotate.conf
src: logrotate.conf.j2
dest: /etc/logrotate.d/maillog
mode: "0644"