Change pki_create_ca condition
We have defaulted openstack_pki_authorities so condition if it is defined will always be true. The only way to override that behaviour by deployer is to define empty list of authorities (if none needs to be generated) Change-Id: Ic9cb5dd397724525c0a826dbad690052ec59ecc7
This commit is contained in:
parent
464d7e5d36
commit
f050922771
@ -24,5 +24,5 @@
|
||||
tasks_from: main_ca.yml
|
||||
vars:
|
||||
pki_dir: "{{ openstack_pki_dir }}"
|
||||
pki_create_ca: "{{ openstack_pki_authorities is defined | bool }}"
|
||||
pki_create_ca: "{{ openstack_pki_authorities | default([]) | length > 0 }}"
|
||||
pki_authorities: "{{ openstack_pki_authorities }}"
|
||||
|
Loading…
Reference in New Issue
Block a user