From e1b50dad0f60422ff0efb1a2538c0a13adf9e41e Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 3 Jun 2015 19:23:36 +0200 Subject: Restart services when updating systemd unit files. --- roles/lists/handlers/main.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'roles/lists/handlers/main.yml') 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 -- cgit v1.2.3