Fix the order of this handler

This commit is contained in:
Kevin Fenzi 2016-09-27 16:35:29 +00:00
parent 4302a23215
commit 41cee6c129
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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