style: linting
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
---
|
||||
|
||||
- name: restart opendkim
|
||||
service:
|
||||
name: opendkim
|
||||
state: restarted
|
||||
name: opendkim
|
||||
state: restarted
|
||||
|
@@ -1,32 +1,33 @@
|
||||
---
|
||||
|
||||
- name: install opendkim
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
loop:
|
||||
- opendkim
|
||||
- opendkim-tools
|
||||
- opendkim
|
||||
- opendkim-tools
|
||||
|
||||
- name: main configuration files
|
||||
template:
|
||||
src: opendkim.conf
|
||||
dest: /etc/opendkim.conf
|
||||
src: opendkim.conf
|
||||
dest: /etc/opendkim.conf
|
||||
notify:
|
||||
- restart opendkim
|
||||
- restart opendkim
|
||||
|
||||
- name: dkim directory
|
||||
file:
|
||||
path: /etc/dkim
|
||||
state: directory
|
||||
path: /etc/dkim
|
||||
state: directory
|
||||
|
||||
- name: secondary configuration files
|
||||
copy:
|
||||
src: "./files/dkim/{{ item }}"
|
||||
dest: "/etc/dkim/{{ item }}"
|
||||
src: "./files/dkim/{{ item }}"
|
||||
dest: "/etc/dkim/{{ item }}"
|
||||
loop:
|
||||
- KeyTable
|
||||
- PeerList
|
||||
- SigningTable
|
||||
- TrustedHosts
|
||||
- KeyTable
|
||||
- PeerList
|
||||
- SigningTable
|
||||
- TrustedHosts
|
||||
notify:
|
||||
- restart opendkim
|
||||
|
||||
- restart opendkim
|
||||
|
Reference in New Issue
Block a user