diff --git a/roles/setup/templates/receptor.conf.j2 b/roles/setup/templates/receptor.conf.j2 index 043dd3f..6a0a861 100644 --- a/roles/setup/templates/receptor.conf.j2 +++ b/roles/setup/templates/receptor.conf.j2 @@ -56,9 +56,9 @@ - {{ peer['protocol'] }}-peer: address: {{ peer['address'] | default(peer['host']) }}:{{ peer['port'] }} redial: true -{% if receptor_tls -%} +{% if receptor_tls %} tls: tls_client -{%- endif %} +{% endif %} {% endfor %} {% endif %}