Commit Graph

4 Commits

Author SHA1 Message Date
Ricardo Carrillo Cruz efd0234300 Switch the provisioning step to the cloud launcher role
I've been slowly decoupling the provisioning role from infra-ansible
into its own role:

http://git.openstack.org/cgit/openstack/ansible-role-cloud-launcher

Now that it has feature parity and it is gating in OpenStack CI,
just use it and remove setup_openstack_resources roles.

Change-Id: I4810d0bdb57cf1f069f20fb133f5f2afe15e4e87
2016-06-07 13:35:47 +00:00
Simon McCartney e49b679956 Reworked setup_env.sh to support Debian & Darwin/OSX
* Linux/Debian - ensure python-pip & python-dev are installed
* LinuxRHEL/CentOS - ensure python-virtualenv & python-devel are
  installed
* Darwin/OSX - check & exit if pip not installed
* Always rebuild the venv
* Dropped the path on wget, to allow for platform path differences
* Dropped the -N on wget, as it has no effect when using -O and
  github aren't returning the Last-Modified header

Change-Id: I221965ee1b1776d46f4b6fba00ffb7069e5b34f8
2016-03-12 23:10:46 +00:00
Ricardo Carrillo Cruz d902c16e19 Refactor setup_env.sh to use virtualenvs
Rather than relying on system-wide packages, just
create the virtualenv and leverage the already available
requirements.txt, which installs ansible along with other
dependencies.
Also pull the openstack inventory in the local inventory folder
as ansible pip package does not bundle the inventory utility.

Change-Id: I43b1c3fce522657854cdc20c55bd32366179b4b7
2016-02-15 16:28:10 +01:00
Ricardo Carrillo Cruz a0e6385d59 Add setup_env.sh and requirements.txt to install dependencies
Kudos to Julia Kreger, I shamelessly copied the setup_env.sh
script from her fantastic bifrost project.
2015-06-04 14:18:59 +02:00