Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
607 B

---
- name: Remove tmp and obsolete files
file: path={{ item }} state=absent
loop:
- /etc/opendkim/verifier.conf
- /etc/systemd/system/opendmarc.service
- /etc/systemd/system/opendkim-verifier.service
- /etc/opendmarc.conf
- /etc/opendmarc.dbpass
- /usr/local/bin/dmarc_reports
- /etc/cron.d/opendmarc
- /etc/pmg/templates/main.cf.in
- /etc/mail/spamassassin/scores.cf
tags: pmg
- name: Disable unused services
service: name={{ item }} state=stopped disabled=True
loop:
- opendmarc
- opendkim-verifier
- saslauthd
failed_when: False
tags: pmg