postfix: conditional include for slow_transport

This commit is contained in:
Jérémy Lecour 2017-01-12 17:22:16 +01:00 committed by Jérémy Lecour
parent 5a7a561cca
commit 49f5f6f08a
2 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
---
postfix_hostname: "{{ ansible_fqdn }}"
postfix_slow: False
postfix_slow_transport_include: False

View file

@ -12,7 +12,7 @@
#check_mode: no (for migration to Ansible 2.2)
always_run: yes
register: default_main_cf
- name: create minimal main.cf
template:
src: evolinux_main.cf.j2
@ -27,4 +27,4 @@
- meta: flush_handlers
- include: slow_transport.yml
when: postfix_slow_transport
when: postfix_slow_transport_include