Don't fail when openstack_pki_install_ca not defined
In some scenarios, it might be possible that openstack_pki_install_ca is not defined for some reason. So we should not fail if it's the case. Change-Id: Id08720e442da5d183785d2e395c6e234e079a4ce Needed-By: https://review.opendev.org/c/openstack/ansible-config_template/+/796151
This commit is contained in:
@@ -122,7 +122,7 @@
|
||||
tasks_from: main_ca_install.yml
|
||||
vars:
|
||||
pki_dir: "{{ openstack_pki_dir }}"
|
||||
pki_install_ca: "{{ openstack_pki_install_ca + openstack_host_ca_certificates }}"
|
||||
pki_install_ca: "{{ openstack_pki_install_ca | default([]) + openstack_host_ca_certificates }}"
|
||||
tags:
|
||||
- always
|
||||
|
||||
|
Reference in New Issue
Block a user