Ansible role to manage SSL certificate creation and distribution
Go to file
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
defaults Refactor conditional generation of CA and certificates 2022-03-22 15:27:20 +00:00
doc Add boilerplate ansible role components 2021-04-29 19:02:13 +03:00
examples Add boilerplate ansible role components 2021-04-29 19:02:13 +03:00
handlers Create CA and server certificates 2021-05-12 06:19:13 +00:00
meta Add boilerplate ansible role components 2021-04-29 19:02:13 +03:00
releasenotes Add boilerplate ansible role components 2021-04-29 19:02:13 +03:00
tasks Refactor conditional generation of CA and certificates 2022-03-22 15:27:20 +00:00
vars Refactor conditional generation of CA and certificates 2022-03-22 15:27:20 +00:00
zuul.d Create CA and server certificates 2021-05-12 06:19:13 +00:00
.gitreview Added .gitreview 2021-02-03 22:37:03 +00:00
bindep.txt Add boilerplate ansible role components 2021-04-29 19:02:13 +03:00
CONTRIBUTING.rst Add boilerplate ansible role components 2021-04-29 19:02:13 +03:00
LICENSE Add boilerplate ansible role components 2021-04-29 19:02:13 +03:00
README.rst Add boilerplate ansible role components 2021-04-29 19:02:13 +03:00
tox.ini Add boilerplate ansible role components 2021-04-29 19:02:13 +03: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