
This commit adds an Ansible Playbook that installs a new certificate to UEFI secure boot trusted certificates DB in all available hosts and, optionally, in all subclouds. Test Plan: PASS: Build playbookconfig package and image. PASS: Run playbook in an AIO-SX and check that it added the certificate. PASS: Run playbook in an AIO-DX and check that it added the certificate to both controllers. PASS: Run playbook in a DC and check it added the cert to subcloud controllers. PASS: Run playbook in a DC with a subcloud containing a worker node and check that it added the certificate to all hosts, including subcloud worker node. PASS: Run playbook in a DC containing a host with secure boot disabled and check that it skips that host without failing. PASS: Run playbook with an expired certificate as input and see it fail. Story: 2011352 Task: 51687 Change-Id: Ie72fb67059addbe3f0fa341c81d0143c035e3e3d Signed-off-by: Rodrigo Tavares <Rodrigo.DosSantosTavares@windriver.com>
stx-ansible-playbooks
StarlingX Bootstrap and Deployment Ansible1 Playbooks
Execution environment
- Unix like OS (recent Linux based distributions, MacOS, Cygwin)
- Python 3.8 and later
Additional Required Packages
In addition to the pakages listed in requirements.txt and test-requirements.txt, the following packages are required to run the playbooks remotely:
- python3-pexpect
- python3-ptyprocess
- sshpass
Supported StarlingX Releases
The playbooks are compatible with StarlingX R8.0 and later.
Executing StarlingX Playbooks
Bootstrap Playbook
For instructions on how to set up and execute the bootstrap playbook
from another host, please refer to the StarlingX Documentation2, at
Installation Guides
, section Configure
controller-0 of the respective system deployment type.
Developer Notes
This repository is not intended to be developed standalone, but rather as part of the StarlingX Source System, which is defined by the StarlingX manifest3.
References
Description
Languages
Jinja
70.3%
Python
21.5%
Shell
8.1%