Bascule Z-Push, préparation Mail
This commit is contained in:
32
roles/opendkim/tasks/main.yml
Normal file
32
roles/opendkim/tasks/main.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
- name: install opendkim
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
loop:
|
||||
- opendkim
|
||||
- opendkim-tools
|
||||
|
||||
- name: main configuration files
|
||||
copy:
|
||||
src: ./files/opendkim.conf
|
||||
dest: /etc/opendkim.conf
|
||||
notify:
|
||||
- restart opendkim
|
||||
|
||||
- name: dkim directory
|
||||
file:
|
||||
path: /etc/dkim
|
||||
state: directory
|
||||
|
||||
- name: secondary configuration files
|
||||
copy:
|
||||
src: "./files/dkim/{{ item }}"
|
||||
dest: "/etc/dkim/{{ item }}"
|
||||
loop:
|
||||
- KeyTable
|
||||
- PeerList
|
||||
- SigningTable
|
||||
- TrustedHosts
|
||||
notify:
|
||||
- restart opendkim
|
||||
|
Reference in New Issue
Block a user