0b059ab1cb75faa05a56a03dfd61e372d0d5205b
- In python3 subprocess returns <class 'bytes'> type, in python2 this was <type 'str'>. Add universal_newlines argument to subprocess.Popen() call to ensure we get a string. - Fix the divide behavior in python3 where the result number is a float, by retyping float to an int as it is represented in python2. - Use six.moves.configparser to provide python3 compatibility. As ConfigParser in python 2 has been renamed to configparser in python 3. - Fix print statements to use the proper python syntax. Testing: - Build the package with required changed. - Build new ISO and ran the default playbook. Story: 2006796 Task: 42293 Signed-off-by: Charles Short <charles.short@windriver.com> Change-Id: Iedc368456b937262b321ff298dab5fcb57df688b
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
ansible2.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
Languages
Jinja
73%
Python
17.5%
Shell
6.5%
Smarty
2.9%