postfix: conditional include for slow_transport
This commit is contained in:
parent
5a7a561cca
commit
49f5f6f08a
|
@ -1,3 +1,3 @@
|
||||||
---
|
---
|
||||||
postfix_hostname: "{{ ansible_fqdn }}"
|
postfix_hostname: "{{ ansible_fqdn }}"
|
||||||
postfix_slow: False
|
postfix_slow_transport_include: False
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#check_mode: no (for migration to Ansible 2.2)
|
#check_mode: no (for migration to Ansible 2.2)
|
||||||
always_run: yes
|
always_run: yes
|
||||||
register: default_main_cf
|
register: default_main_cf
|
||||||
|
|
||||||
- name: create minimal main.cf
|
- name: create minimal main.cf
|
||||||
template:
|
template:
|
||||||
src: evolinux_main.cf.j2
|
src: evolinux_main.cf.j2
|
||||||
|
@ -27,4 +27,4 @@
|
||||||
- meta: flush_handlers
|
- meta: flush_handlers
|
||||||
|
|
||||||
- include: slow_transport.yml
|
- include: slow_transport.yml
|
||||||
when: postfix_slow_transport
|
when: postfix_slow_transport_include
|
||||||
|
|
Loading…
Reference in a new issue