![]() This commit fixes some bugs in backup and restore_platform playbook: 1. ansible_port is not defined. 2. The pre-tasks in restore_platform playbook should be delegated to localhost. 3. KUBECONFIG environment variable cannot be retrieved via lookup plugins because these plugins are evaluated on the Ansible control machine. 4. Add a check for /opt/platform/config/<version>/ssh_config before restore it. It also adds loop_control to reduce output when estimating the backup size. Change-Id: I3e54a923460f817e4082269cc97b2613396db896 Story: 2004761 Task: 36044 Signed-off-by: Wei Zhou <wei.zhou@windriver.com> |
||
---|---|---|
examples/remote | ||
playbookconfig | ||
.gitignore | ||
.gitreview | ||
.yamllint | ||
.zuul.yaml | ||
CONTRIBUTORS.wrs | ||
LICENSE | ||
README.rst | ||
centos_iso_image.inc | ||
centos_pkg_dirs | ||
test-requirements.txt | ||
tox.ini |
README.rst
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:
- 19.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.