StarlingX Ansible Playbooks
0276009fb0
Add new option to encrypt the backup tarballs. Initially disabled by default with the backup_encryption_enabled boolean value. When enabled then backup_encryption_passphrase is required. A third variable backup_encyption_include is a list of string identifiers indicating which tarballs are included in the feature. The backup_encryption_enabled and backup_encyption_include options allow the feature to be rolled out in phases. The existing backup tarballs include: platform, openstack, user_images, dc_vault, registry, and most recently: hc_vault. Of these, the image registry backup files are unlikely to require encryption. The hc_vault and platform tarballs are selected initially to support encryption for the snapshot of HC (Hashicorp) Vault application. Test Plan: PASS AIO-SX backup and restore, remotely PASS AIO-SX backup and restore, remotely, with hc_vault PASS AIO-SX restore, local (on_box_data=true), with hc_vault PASS ansible-lint, yamllint PASS unit test PASS AIO-SX (optimized) PASS duplex backup playbook n/a duplex restore playbook PASS-ish: duplex restore up to known bug "DX B&R failed in restore ansible by 'platform service in region not found'" PASS remote playbook execution PASS local playbook execution PASS with/without vault applied PASS with/without encryption Story: 2011073 Task: 49842 Change-Id: If98300d3b75102c11f8ad08698b55442688cf442 Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com> |
||
---|---|---|
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 | ||
requirements.txt | ||
test-requirements.txt | ||
tox.ini |
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.