Collection of Ansible playbooks to bring up an OpenStack Infra
Go to file
Ricardo Carrillo Cruz 9c3c6e11c3 Use virtualenv python binary
When infra-ansible runs in a virtualenv, this line is needed in
order to use the python binary installed in the virtualenv,
otherwise the system-wide is used and you can get dependency issues
due to missing packages on site-packages that are available
on the virtualenv.

Change-Id: I3af50d734ff5d18eee73b124840db9683dc708dd
2016-01-15 09:15:19 +01:00
group_vars Remove dependency from system-config 2015-08-12 11:11:06 +02:00
roles Attach volumes defined on servers stanzas 2015-11-04 10:26:47 +01:00
.gitignore Switch to Tox for prepping and running tests 2015-10-05 13:50:04 +02:00
.gitreview Add a .gitreview 2015-08-27 17:36:51 -05:00
bootstrap_gerrit.yml Remove dependency from system-config 2015-08-12 11:11:06 +02:00
bootstrap_jjb.yml Remove bogus comment 2015-08-27 10:34:55 +02:00
bootstrap_puppet_infra_nodes.yml Remove dependency from system-config 2015-08-12 11:11:06 +02:00
bootstrap_puppetmaster.yml Disable facts gathering on top-level playbooks 2015-05-13 12:58:36 +02:00
common.yml Refactor common and bootstrap_puppet_infra_node roles 2015-08-27 10:31:56 +02:00
hosts Use virtualenv python binary 2016-01-15 09:15:19 +01:00
infra_config.yml.sample Add initial support for creating volumes 2015-10-15 17:37:48 +02:00
provision_infra_servers.yml Major refactor 2015-04-13 14:23:22 +02:00
README.md Remove dependency from system-config 2015-08-12 11:11:06 +02:00
requirements.txt Switch to Tox for prepping and running tests 2015-10-05 13:50:04 +02:00
run_puppet_on_gerrit.yml Add run_puppet top-level playbooks to apply puppet for services 2015-08-27 10:33:04 +02:00
run_puppet_on_jenkins.yml Add run_puppet top-level playbooks to apply puppet for services 2015-08-27 10:33:04 +02:00
run_puppet_on_zuul.yml Add run_puppet top-level playbooks to apply puppet for services 2015-08-27 10:33:04 +02:00
run.sh Remove dependency from system-config 2015-08-12 11:11:06 +02:00
set_hostnames.yml Disable facts gathering on top-level playbooks 2015-05-13 12:58:36 +02:00
setup_env.sh Add setup_env.sh and requirements.txt to install dependencies 2015-06-04 14:18:59 +02:00
site.yml Adapt the top-level execution playbook to the previous refactor 2015-08-27 10:45:02 +02:00
tox.ini Add tox env for ansible syntax check 2015-10-07 11:02:59 +02:00

Instructions

  1. Run bash setup_env.sh
  2. Run source /opt/stack/ansible/hacking/env-setup
  3. Source your OpenStack cloud environment variables rc file
  4. Run cp infra_config.yml.sample infra_config.yml
  5. Edit infra_config.yml and put your environment values
  6. Run bash run.sh