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
|
- name: fix openvpn routing
|
||||||
action: shell /etc/openvpn/fix-routes.sh
|
action: shell /etc/openvpn/fix-routes.sh
|
||||||
|
|
||||||
- name: restart postfix
|
|
||||||
action: service name=postfix state=restarted
|
|
||||||
|
|
||||||
- name: restart xinetd
|
- name: restart xinetd
|
||||||
action: service name=xinetd state=restarted
|
action: service name=xinetd state=restarted
|
||||||
|
|
||||||
|
@ -93,6 +90,9 @@
|
||||||
- name: rebuild postfix tls_policy
|
- name: rebuild postfix tls_policy
|
||||||
command: /usr/sbin/postmap /etc/postfix/tls_policy
|
command: /usr/sbin/postmap /etc/postfix/tls_policy
|
||||||
|
|
||||||
|
- name: restart postfix
|
||||||
|
service: name=postfix state=restarted
|
||||||
|
|
||||||
- name: restart glusterd
|
- name: restart glusterd
|
||||||
service: name=glusterd state=restarted
|
service: name=glusterd state=restarted
|
||||||
|
|
||||||
|
|
|
@ -40,8 +40,8 @@
|
||||||
copy: src="postfix/{{ postfix_transport_filename }}" dest=/etc/postfix/transport
|
copy: src="postfix/{{ postfix_transport_filename }}" dest=/etc/postfix/transport
|
||||||
when: inventory_hostname.startswith(('smtp-mm','bastion','noc02'))
|
when: inventory_hostname.startswith(('smtp-mm','bastion','noc02'))
|
||||||
notify:
|
notify:
|
||||||
- restart postfix
|
|
||||||
- rebuild postfix transport
|
- rebuild postfix transport
|
||||||
|
- restart postfix
|
||||||
tags:
|
tags:
|
||||||
- postfix
|
- postfix
|
||||||
- base
|
- base
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue