mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 02:20:51 +08:00
Fix the order of this handler
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user