summaryrefslogtreecommitdiffstats
path: root/roles/lists
diff options
context:
space:
mode:
Diffstat (limited to 'roles/lists')
-rw-r--r--roles/lists/handlers/main.yml7
-rw-r--r--roles/lists/tasks/sympa.yml1
2 files changed, 6 insertions, 2 deletions
diff --git a/roles/lists/handlers/main.yml b/roles/lists/handlers/main.yml
index 811b86d..d4dd998 100644
--- a/roles/lists/handlers/main.yml
+++ b/roles/lists/handlers/main.yml
@@ -1,4 +1,7 @@
---
+- name: systemctl daemon-reload
+ command: /bin/systemctl daemon-reload
+
- name: Reload Postfix
service: name=postfix state=reloaded
@@ -8,5 +11,5 @@
- name: Restart Sympa
service: name=sympa state=restarted
-- name: systemctl daemon-reload
- command: /bin/systemctl daemon-reload
+- name: Restart wwsympa
+ service: name=wwsympa state=restarted
diff --git a/roles/lists/tasks/sympa.yml b/roles/lists/tasks/sympa.yml
index 245e148..6aa1852 100644
--- a/roles/lists/tasks/sympa.yml
+++ b/roles/lists/tasks/sympa.yml
@@ -74,6 +74,7 @@
mode=0644
notify:
- systemctl daemon-reload
+ - Restart wwsympa
with_items:
- wwsympa.service
- wwsympa.socket