Try this and see if it works any differently.

This commit is contained in:
Kevin Fenzi 2016-05-14 17:49:50 +00:00
parent 45772e100c
commit 9fe0726ddb

View file

@ -22,7 +22,7 @@
- "postfix/master.cf/master.cf.{{ host_group }}" - "postfix/master.cf/master.cf.{{ host_group }}"
- "postfix/master.cf/master.cf.{{ postfix_group }}" - "postfix/master.cf/master.cf.{{ postfix_group }}"
- "postfix/master.cf/master.cf" - "postfix/master.cf/master.cf"
when: inventory_hostname.startswith('smtp-mm') or "'mailman' in group_names" when: inventory_hostname.startswith('smtp-mm') or inventory_hostname.startswith('mailman')
notify: notify:
- restart postfix - restart postfix
tags: tags: