summaryrefslogtreecommitdiffstats
path: root/xci/file/install-ansible.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-10-02xci: install-ansible.sh: Fix distribution detectionMarkos Chandras1-8/+14
Relying on the installed package manager to detect the distribution is not reliable since it's possible to install multiple package managers at the same time. As such, lets simply use the information in the os-release files. Change-Id: Ic170d2aee1398d5c82403c3469365822bf053de7 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-09-25xci: file: Update package metadata before installing packagesMarkos Chandras1-0/+3
We may have old or no metadata for packages at all so package installations may fail. As such, lets sync with upstream mirrors before we try to install any packages. Change-Id: I15f73e46d4f0cae2c50d23a92e0f4da83821039e Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-09-14Generate and use certificates for OSAYolanda Robla1-0/+3
Instead of making OSA to generate self signed certs, bring our own and pass them. By this way we will be able to trust in that certs, and start consuming OpenStack easily. It will also generate proper openrc file to source it and start consuming the cloud properly. Change-Id: Ic72a8b05e6efb222926fc5fa0800e033b2dbd22f Closes-Bug: RELENG-266 Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
2017-08-11Fix ansible installation for non-rootYolanda Robla1-2/+2
Currently ansible was set to be installed with pip, but this fails for non-root user. Instead of that, execute pip with --user flag, so we don't need root permissions and it is only installed for the current user. Change-Id: Ib37a2a3866b4b48aca834b894cdd128ee63b31d6
2017-08-11prototypes: xci: Make sure Ansible dependencies are installedMarkos Chandras1-0/+136
'pip install ansible' is not enough on newly installed hosts which may lack the necessary build tools to install Ansible's dependencies. As such, we add a script similar to the bifrost/scripts/install-deps.sh one to pull in all the necessary distro-specific packages so Ansible and it's dependencies can be installed from scratch. Change-Id: I4b1e74644db9ace451ad763e4c54f1a3a43214fd