Ansible: Skip_SMTP = false or n, not adding smtp variables to config

kkhanna
Participant IV

@carlosfrias - apigee-opdk-portal-silent-installation-config

The playbook is not adding smtp variables in portal-silent.conf file.

SKIP_SMTP={{ opdk_skip_smtp }} 
{% if opdk_skip_smtp | bool %}
SMTPHOST={{ opdk_smtp_host }}
SMTPPORT={{ opdk_smtp_port }}

Only when opdk_skip_smtp = 'true' includes the variables. Changing {% if not opdk_skip_smtp | bool %} doesn't solve.

0 0 146
0 REPLIES 0