aboutsummaryrefslogtreecommitdiffstats
path: root/roles/mail/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'roles/mail/handlers')
-rw-r--r--roles/mail/handlers/main.yml12
1 files changed, 9 insertions, 3 deletions
diff --git a/roles/mail/handlers/main.yml b/roles/mail/handlers/main.yml
index 3e97a1d..32f29c6 100644
--- a/roles/mail/handlers/main.yml
+++ b/roles/mail/handlers/main.yml
@@ -1,12 +1,18 @@
---
- name: reload-opendkim
- command: rcreload milter-opendkim
+ service:
+ name: milter-opendkim
+ state: reloaded
- name: reload-postfix
- command: rcreload postfix
+ service:
+ name: postfix
+ state: reloaded
- name: reload-dovecot
- command: rcreload dovecot
+ service:
+ name: dovecot
+ state: reloaded
- name: update-aliases
command: postalias /etc/mail/aliases