ansible-role-patroni icon indicating copy to clipboard operation
ansible-role-patroni copied to clipboard

Enable SSL in haproxy.cfg if patroni_restapi_certfile is defined

Open danopt opened this issue 2 years ago • 2 comments

Fixes #103

Will enable "check-ssl verify none" in haproxy.cfg if a certificate for the REST-API is defined

danopt avatar Oct 24 '22 15:10 danopt

Tested with both configurations.

  • No SSL: haproxy-no-ssl
  • SSL: haproxy-ssl

danopt avatar Oct 24 '22 15:10 danopt

The last commit is for backward compatibility since older versions of Ansible do not support + signs in Jinja2.

danopt avatar Feb 17 '23 12:02 danopt