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
|
||||
command: /usr/sbin/postmap /etc/postfix/transport
|
||||
|
||||
- name: rebuild postfix tls_policy
|
||||
command: /usr/sbin/postmap /etc/postfix/tls_policy
|
||||
|
||||
- name: restart glusterd
|
||||
service: name=glusterd state=restarted
|
||||
|
||||
|
|
|
@ -50,6 +50,9 @@
|
|||
- name: create /etc/postfix/tls_policy
|
||||
copy: src="postfix/tls_policy" dest=/etc/postfix/tls_policy
|
||||
when: inventory_hostname.startswith(('bastion'))
|
||||
notify:
|
||||
- restart postfix
|
||||
- rebuild postfix tls_policy
|
||||
tags:
|
||||
- postfix
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue