summaryrefslogtreecommitdiffstats
path: root/handlers/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'handlers/main.yml')
-rw-r--r--handlers/main.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/handlers/main.yml b/handlers/main.yml
index d3d7755..9a4521f 100644
--- a/handlers/main.yml
+++ b/handlers/main.yml
@@ -26,5 +26,17 @@
- name: Restart OpenSSH
service: name=ssh.service state=restarted
+- name: Restart Postfix
+ service: name=postfix.service state=restarted
+
+- name: Reload Postfix
+ service: name=postfix.service state=reloaded
+
+- name: Run newaliases
+ command: /usr/bin/newaliases
+
+- name: Compile /etc/postfix/tls_policy
+ command: /usr/sbin/postmap /etc/postfix/tls_policy
+
- name: Update initramfs
command: /usr/sbin/update-initramfs -u