Pavlo Shchelokovskyy eb727f4a01 Allow installing Ansible from PyPI
As of Ansible v2.2 all the missing modules bifrost requires are included
in the pip-installable Ansible package.
Let's allow then for a possiibility for bifrost to install Ansible
directly from PyPI (into the system or in virtualenv) instead
of from cloned source repo.

This patsh first extracts the installation of binary/Python dependencies
and installation of Ansible itself from the "env-setup.sh" script to two
separate scripts "install-deps.sh" and "install-ansible-source.sh".

It also adds a third script "install-ansible-pip.sh" that is called when
environment variable ANSIBLE_FROM_PYPI is set to "True"
(default is "False" for backward compatibility).
It then looks up ANSIBLE_PIP_VERSION env variable (defaults to "2.2")
and pip-installs Ansible of that given version strictly.

Change-Id: Ia72e06d7bf127569d423fa521b8ddab87453809e
2016-12-05 15:17:06 +00:00
..
2016-06-01 10:42:28 -07:00
2016-06-01 10:42:28 -07:00

Scripts

This directory contains several scripts used in the OpenStack CI environment for CI testing of Bifrost, or CI testing that uses Bifrost to test other projects.

The env-setup.sh script is often used to install initial dependencies. These are generally not intended for use outside of the OpenStack CI environment (or similar).

test-bifrost-build-image.sh, test-bifrost-venv.sh, and test-bifrost-inventory-dhcp.sh are symlinks to test-bifrost.sh intended to provide backwards compatibility now that all functionality has been moved to test-bifrost.sh.