and we need to have a trigger
This commit is contained in:
parent
160d060b56
commit
2c055ba46e
2 changed files with 6 additions and 0 deletions
|
@ -90,6 +90,9 @@
|
||||||
- name: rebuild postfix transport
|
- name: rebuild postfix transport
|
||||||
command: /usr/sbin/postmap /etc/postfix/transport
|
command: /usr/sbin/postmap /etc/postfix/transport
|
||||||
|
|
||||||
|
- name: rebuild postfix tls_policy
|
||||||
|
command: /usr/sbin/postmap /etc/postfix/tls_policy
|
||||||
|
|
||||||
- name: restart glusterd
|
- name: restart glusterd
|
||||||
service: name=glusterd state=restarted
|
service: name=glusterd state=restarted
|
||||||
|
|
||||||
|
|
|
@ -50,6 +50,9 @@
|
||||||
- name: create /etc/postfix/tls_policy
|
- name: create /etc/postfix/tls_policy
|
||||||
copy: src="postfix/tls_policy" dest=/etc/postfix/tls_policy
|
copy: src="postfix/tls_policy" dest=/etc/postfix/tls_policy
|
||||||
when: inventory_hostname.startswith(('bastion'))
|
when: inventory_hostname.startswith(('bastion'))
|
||||||
|
notify:
|
||||||
|
- restart postfix
|
||||||
|
- rebuild postfix tls_policy
|
||||||
tags:
|
tags:
|
||||||
- postfix
|
- postfix
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue