27 lines
486 B
YAML
27 lines
486 B
YAML
- name: install opendmarc
|
|
package:
|
|
name: opendmarc
|
|
state: present
|
|
|
|
- name: opendmarc config file
|
|
copy:
|
|
src: ./files/opendmarc.conf
|
|
dest: /etc/opendmarc.conf
|
|
notify:
|
|
- restart opendmarc
|
|
|
|
- name: dmarc directory
|
|
file:
|
|
path: /etc/dmarc
|
|
state: directory
|
|
|
|
- name: secondary configuration files
|
|
copy:
|
|
src: "./files/dmarc/{{ item }}"
|
|
dest: "/etc/dmarc/{{ item }}"
|
|
loop:
|
|
- IgnoreHosts
|
|
notify:
|
|
- restart opendmarc
|
|
|