Fix handlers
This commit is contained in:
parent
05524ff6db
commit
6ccc54bb9e
2 changed files with 10 additions and 5 deletions
10
roles/mailman/handlers/main.yml
Normal file
10
roles/mailman/handlers/main.yml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
- name: restart mailman
|
||||||
|
action: service name=mailman3 state=restarted
|
||||||
|
|
||||||
|
- name: restart postfix
|
||||||
|
action: service name=postfix state=restarted
|
||||||
|
|
||||||
|
- name: reload apache
|
||||||
|
action: service name=httpd state=reloaded
|
||||||
|
|
|
@ -131,8 +131,3 @@
|
||||||
copy: src=postfix-main.cf dest=/etc/postfix/main.cf
|
copy: src=postfix-main.cf dest=/etc/postfix/main.cf
|
||||||
notify:
|
notify:
|
||||||
- restart postfix
|
- restart postfix
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- handlers:
|
|
||||||
- include: $handlers/restart_services.yml
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue