mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-25 02:50:15 +08:00
Fix handlers
This commit is contained in:
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
|
||||
notify:
|
||||
- restart postfix
|
||||
|
||||
|
||||
|
||||
- handlers:
|
||||
- include: $handlers/restart_services.yml
|
||||
|
||||
Reference in New Issue
Block a user