style: make ansible-lint happier
This commit is contained in:
@@ -1,27 +1,30 @@
|
||||
---
|
||||
|
||||
- name: install opendmarc
|
||||
package:
|
||||
- name: Install opendmarc
|
||||
ansible.builtin.package:
|
||||
name: opendmarc
|
||||
state: present
|
||||
|
||||
- name: opendmarc config file
|
||||
copy:
|
||||
- name: Opendmarc config file
|
||||
ansible.builtin.copy:
|
||||
src: ./files/opendmarc.conf
|
||||
dest: /etc/opendmarc.conf
|
||||
mode: 0644
|
||||
notify:
|
||||
- restart opendmarc
|
||||
|
||||
- name: dmarc directory
|
||||
file:
|
||||
- name: Dmarc directory
|
||||
ansible.builtin.file:
|
||||
path: /etc/dmarc
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
- name: secondary configuration files
|
||||
copy:
|
||||
- name: Secondary configuration files
|
||||
ansible.builtin.copy:
|
||||
src: "./files/dmarc/{{ item }}"
|
||||
dest: "/etc/dmarc/{{ item }}"
|
||||
mode: 0644
|
||||
loop:
|
||||
- IgnoreHosts
|
||||
notify:
|
||||
- restart opendmarc
|
||||
- Restart opendmarc
|
||||
|
Reference in New Issue
Block a user