diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2015-06-03 19:23:36 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 02:54:18 +0200 |
commit | e1b50dad0f60422ff0efb1a2538c0a13adf9e41e (patch) | |
tree | cd10c54c829d84c7db069655e611af391ec6fdf6 /roles/lists/handlers | |
parent | 0dbdc948c7c2bda7e2610a7b48b17f63bec184ea (diff) |
Restart services when updating systemd unit files.
Diffstat (limited to 'roles/lists/handlers')
-rw-r--r-- | roles/lists/handlers/main.yml | 7 |
1 files changed, 5 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 |