kostiantyn-nemchenko / ansible-role-patroni

:elephant: Ansible Role for Patroni
https://galaxy.ansible.com/kostiantyn-nemchenko/patroni
MIT License
68 stars 44 forks source link

Enable SSL in haproxy.cfg if patroni_restapi_certfile is defined #104

Open danopt opened 2 years ago

danopt commented 2 years ago

Fixes #103

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

danopt commented 2 years ago

Tested with both configurations.

danopt commented 1 year ago

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