Bascule Z-Push, préparation Mail

This commit is contained in:
VC
2019-09-04 18:02:51 +02:00
parent dded46ff64
commit 66717dcc13
30 changed files with 828 additions and 2 deletions

View 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