StarlingX Ansible Playbooks
1a1ac09dfd
This change adds the openldap certificate creation process to the bootstrap.yml playbook. It also adds support for updating it to the migrate_platform_certificates_to_certmanager playbook. This change is also renaming the kubernetes Root CA's common name to starlingx, so that it can be used as the system_local_ca clusterIssuer which will be used as the Issuer of the openldap certificate. Test Plan: PASS: Run the bootstrap playbook and verify that it is able to create the openldap certificate and install system_root_ca as a ssl_ca certificate in 'system certificate-list' PASS Do system unlock and verify that cert-mon is able to pick up and install the openldap certificate PASS: Test migrate_platform_certificates_to_certmanager and verify that it is able to update the openldap certificate PASS: On a DC system (centos only), verify that the bootstrap.yml playbook works for 'dcmanager subcloud add' PASS: On a DC system (centos only), verify that the openldap certificate in not created in subclouds PASS: Verified that the bootstrap.yml playbook can be re-played multiple times without error PASS: Verify remote system bootstrap for debian works Story: 2009834 Task: 45774 Signed-off-by: Rei Oliveira <Reinildes.JoseMateusOliveira@windriver.com> Change-Id: Ie4c37026c9d5d4864dfea6fff3f066f3735c9fe2 |
||
---|---|---|
examples | ||
playbookconfig | ||
.ansible-lint | ||
.gitignore | ||
.gitreview | ||
.yamllint | ||
.zuul.yaml | ||
centos_build_layer.cfg | ||
centos_iso_image.inc | ||
centos_pkg_dirs | ||
CONTRIBUTORS.wrs | ||
debian_build_layer.cfg | ||
debian_iso_image.inc | ||
debian_pkg_dirs | ||
LICENSE | ||
README.rst | ||
test-requirements.txt | ||
tox.ini |
stx-ansible-playbooks
StarlingX Bootstrap and Deployment Playbooks
Execution environment
- Unix like OS (recent Linux based distributions, MacOS, Cygwin)
- Python 2.7
Additional Required Packages
The playbooks in this repo have been verified with the following versions of Ansible and StarlingX playbooks dependencies:
- sshpass 1.06
- python2-ptyprocess 0.5
- python2-pexpect 4.6
- python2-netaddr 0.7
ansible
2.7.5
Supported StarlingX Releases
The playbooks in this repo are compatible with the following StarlingX releases:
- 20.01
Executing StarlingX Playbooks
Executing Bootstrap Playbook
Please refer to StarlingX Deployment Guides
, section
Configuration controller-0 of the respective system
configuration for instructions on how to set up and execute the
bootstrap playbook from another host.