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
2021-05-12 06:19:13 +00:00
2021-02-03 22:37:03 +00:00

PKI role for OpenStack-Ansible

Ansible role to install Public Key Infrastructure.

Documentation for the project can be found at:

https://docs.openstack.org/ansible-role-pki/latest/

Release notes for the project can be found at:

https://docs.openstack.org/releasenotes/ansible-role-pki/

The project source code repository is located at:

https://opendev.org/openstack/ansible-role-pki/

The project home is at:

https://launchpad.net/openstack-ansible

The bugs is at:

https://bugs.launchpad.net/openstack-ansible

Description
Ansible role to manage SSL certificate creation and distribution
Readme 726 KiB
Languages
Python 100%