Fix the order of this handler
This commit is contained in:
parent
4302a23215
commit
41cee6c129
2 changed files with 4 additions and 4 deletions
|
@ -75,9 +75,6 @@
|
|||
- name: fix openvpn routing
|
||||
action: shell /etc/openvpn/fix-routes.sh
|
||||
|
||||
- name: restart postfix
|
||||
action: service name=postfix state=restarted
|
||||
|
||||
- name: restart xinetd
|
||||
action: service name=xinetd state=restarted
|
||||
|
||||
|
@ -93,6 +90,9 @@
|
|||
- name: rebuild postfix tls_policy
|
||||
command: /usr/sbin/postmap /etc/postfix/tls_policy
|
||||
|
||||
- name: restart postfix
|
||||
service: name=postfix state=restarted
|
||||
|
||||
- name: restart glusterd
|
||||
service: name=glusterd state=restarted
|
||||
|
||||
|
|
|
@ -40,8 +40,8 @@
|
|||
copy: src="postfix/{{ postfix_transport_filename }}" dest=/etc/postfix/transport
|
||||
when: inventory_hostname.startswith(('smtp-mm','bastion','noc02'))
|
||||
notify:
|
||||
- restart postfix
|
||||
- rebuild postfix transport
|
||||
- restart postfix
|
||||
tags:
|
||||
- postfix
|
||||
- base
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue