and we need to have a trigger

This commit is contained in:
Stephen Smoogen 2016-09-27 03:08:25 +00:00
parent 160d060b56
commit 2c055ba46e
2 changed files with 6 additions and 0 deletions

View file

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

View file

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