Go to file
BoYuan Chang 2a5978d66c Set compression method based on platform core number
This change will switch to PIGZ for file compression when working with
more platform CPUs for faster run time. PIGZ is also added as the
required file in playbook config.

Test Plan:

1. Bring up StarlingX and verify that pigz utility is available.
2. Perform prestage for a subcloud with less than 4 platform cores.
Verify that gzip compression is used.
3. Perform prestage for a subcloud with 4 platform cores.
Verify that pigz compression is used.

Story: 2009948
Task: 45045
Signed-off-by: BoYuan Chang <boyuan.chang@windriver.com>
Change-Id: I77a999df87183946661ceac6845b986c1a009e2f
2022-04-12 15:28:59 -05:00
2019-06-15 14:03:07 -05:00
2021-06-09 14:11:38 +08:00
2019-06-15 14:21:19 -05:00
2019-06-15 14:21:19 -05:00
2019-06-15 14:21:19 -05:00
2021-06-09 14:11:38 +08:00

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.

References

Description
StarlingX Ansible Playbooks
Readme 32 MiB
Languages
Jinja 74.1%
Python 16.3%
Shell 6.6%
Smarty 3%