Pass valid cert regen variable to pki role

Currently we're passing non-existant variable into PKI role
when defining whether to regen certificates or not.
This change fixes behaviour.

Change-Id: Ib1c8f820ccfe00923fcbc7aec2457a94629673fe
(cherry picked from commit a3bba5e66e01812c5c11943c9f74809ee60a38de)
This commit is contained in:
Dmitriy Rabotyagov 2022-05-12 18:36:55 +02:00 committed by Jonathan Rosser
parent 4f3c311efa
commit 577dfa9450

View File

@ -128,7 +128,7 @@
pki_setup_host: "{{ nova_pki_setup_host }}"
pki_dir: "{{ nova_pki_dir }}"
pki_create_certificates: "{{ nova_user_ssl_cert is not defined and nova_user_ssl_key is not defined }}"
pki_regen_certificates: "{{ nova_pki_regen_cert }}"
pki_regen_cert: "{{ nova_pki_regen_cert }}"
pki_certificates: "{{ nova_pki_compute_certificates }}"
pki_install_certificates: "{{ nova_pki_compute_install_certificates }}"
when:
@ -145,7 +145,7 @@
pki_setup_host: "{{ nova_pki_setup_host }}"
pki_dir: "{{ nova_pki_dir }}"
pki_create_certificates: "{{ nova_user_ssl_cert is not defined and nova_user_ssl_key is not defined }}"
pki_regen_certificates: "{{ nova_pki_regen_cert }}"
pki_regen_cert: "{{ nova_pki_regen_cert }}"
pki_certificates: "{{ nova_pki_console_certificates }}"
pki_install_certificates: "{{ nova_pki_console_install_certificates }}"
when: