Use Ansible defaults to insert comments
Enable vscodium code highlighting for some files
This commit is contained in:
parent
4ad48694d5
commit
8c79f8b687
30 changed files with 34 additions and 30 deletions
19
templates/logrotate.conf.j2
Normal file
19
templates/logrotate.conf.j2
Normal file
|
@ -0,0 +1,19 @@
|
|||
{{ ansible_managed | comment }}
|
||||
|
||||
/var/log/mail.log
|
||||
/var/log/mail.info
|
||||
/var/log/mail.warn
|
||||
/var/log/mail.err
|
||||
{
|
||||
rotate 1
|
||||
daily
|
||||
missingok
|
||||
notifempty
|
||||
compress
|
||||
delaycompress
|
||||
sharedscripts
|
||||
postrotate
|
||||
/usr/lib/rsyslog/rsyslog-rotate
|
||||
python3 /opt/mail-tls-helper/mail-tls-helper.py -s /opt/mail-tls-helper/domains.sqlite -p /var/lib/postfix/tls-helper/tls_domains -t cdb --allowlist /opt/mail-tls-helper/allowlist.txt -d {{ postfix_tls_helper_domain }} -r {{ postfix_tls_helper_recipient }} -f {{ postfix_tls_helper_sender }}
|
||||
endscript
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue