style: make ansible-lint happier

This commit is contained in:
VC
2024-07-05 11:53:33 +02:00
parent a0b23684a5
commit 574982340e
11 changed files with 90 additions and 78 deletions

View File

@@ -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