This commit is contained in:
parent
4263d1be5a
commit
2059989d8a
4 changed files with 62 additions and 12 deletions
|
|
@ -3,7 +3,12 @@
|
|||
# Need EPEL repo
|
||||
|
||||
- name: Install template config file
|
||||
template: src=etc/opendmarc.conf.j2 dest=/etc/opendmarc.conf owner=root group=root mode=0644
|
||||
template:
|
||||
src: etc/opendmarc.conf.j2
|
||||
dest: /etc/opendmarc.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
|
||||
- name: Install update public_suffix_list file for opendmarc
|
||||
get_url:
|
||||
|
|
@ -14,9 +19,17 @@
|
|||
mode: 0644
|
||||
|
||||
- name: Install updater script
|
||||
copy: src=etc/cron.weekly/opendmarc dest=/etc/cron.weekly/opendmarc owner=root group=root mode=0755
|
||||
copy:
|
||||
src: etc/cron.weekly/opendmarc
|
||||
dest: /etc/cron.weekly/opendmarc
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0755
|
||||
notify: Restart OpenDMARC
|
||||
|
||||
- name: Enable OpenDMARC on boot
|
||||
service: name=opendmarc state=started enabled=yes
|
||||
service:
|
||||
name: opendmarc
|
||||
state: started
|
||||
enabled: yes
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue