
For debian build the dh_auto_install step will inject a DESTDIR based on the artifact build directory PKGBUILDIDR (equivalent to buildroot for spec files), but without control for the desired destination on the system (local_stx_ansible_dir): make -j32 install DESTDIR=/<<PKGBUILDDIR>>/debian/playbookconfig Change Makefile to support DESTDIR and PREFIX. Change spec files to use DESTDIR as buildroot and PREFIX as destination on the system. This allows to write clean debian rules files. Tested by doing a CentOS7 build-pkg & build-iso, then did run the ansible playbook. Story: 2009101 Task: 43051 Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com> Change-Id: Ic5a0463a8b5fa804f7829435d91e51a8e315802e
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
Languages
Jinja
70.4%
Python
21.3%
Shell
8.2%