Fix PKI regen behaviour

We have introduced variables to control CA/certificates regeneration
however never used them anywhere.
This patch fixes that, so that haproxy_pki_regen_cert and
haproxy_pki_regen_ca are respected now.

Change-Id: Id6d5395d5976ec9393a55be7fe9a946cf9ce745e
This commit is contained in:
Dmitriy Rabotyagov 2021-09-09 11:36:03 +03:00
parent 96087b0867
commit 99415e7692
1 changed files with 2 additions and 0 deletions

View File

@ -42,7 +42,9 @@
pki_create_ca: "{{ haproxy_pki_create_ca }}"
pki_authorities: "{{ haproxy_pki_authorities }}"
pki_install_ca: "{{ haproxy_pki_install_ca }}"
pki_regen_ca: "{{ haproxy_pki_regen_ca }}"
pki_create_certificates: "{{ haprpxy_user_ssl_cert is not defined and haproxy_user_ssl_key is not defined }}"
pki_regen_cert: "{{ haproxy_pki_regen_cert }}"
pki_certificates: "{{ haproxy_pki_certificates }}"
pki_install_certificates: "{{ haproxy_pki_install_certificates }}"
when: