diff options
| author | Roman Ilin <me@romanilin.is> | 2026-06-15 12:59:09 +0300 |
|---|---|---|
| committer | Roman Ilin <me@romanilin.is> | 2026-06-15 22:04:41 +0300 |
| commit | 5e4bf1268c266e63d0e92e845ad910a2103b86ff (patch) | |
| tree | 532c01a9658a05048ef1ba76d4f30fca84005643 /roles/mail/handlers/main.yaml | |
| download | infrastructure-main.tar.gz | |
Diffstat (limited to 'roles/mail/handlers/main.yaml')
| -rw-r--r-- | roles/mail/handlers/main.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/mail/handlers/main.yaml b/roles/mail/handlers/main.yaml new file mode 100644 index 0000000..2d6ec58 --- /dev/null +++ b/roles/mail/handlers/main.yaml @@ -0,0 +1,15 @@ +- name: Fix DKIM permissions + ansible.builtin.file: + path: /etc/opendkim/keys/ + owner: opendkim + group: opendkim + recurse: yes + +- name: Restart Mail Services + ansible.builtin.systemd: + name: "{{ item }}" + state: restarted + loop: + - postfix + - dovecot + - opendkim |