ansible-role-pki/vars
Jonathan Rosser 9108a8953f Refactor conditional generation of CA and certificates
This was previously spread around the code as 'when:' clauses on ansible
tasks.

This patch refactors the conditional code to be entirely within the
dynamic generation of variables in vars/main.yml. Any elements from
the default or discovered CA or certificate lists which have
condition=false are removed, so no conditionals are required elsewhere
in the code.

pki_authorities and pki_certificates are defined as empty lists in the
ansible defaults to further reduce the need for the use of default()
in the rest of the role.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/830806
Change-Id: Iea809406b1d4140b985fcb038663ae0257336463
2022-03-22 15:27:20 +00:00
..
main.yml Refactor conditional generation of CA and certificates 2022-03-22 15:27:20 +00:00
standalone_ca.yml Create CA and server certificates 2021-05-12 06:19:13 +00:00
standalone_cert.yml Allow non root user to read server certificates 2021-06-29 18:24:37 +01:00