Collection of Ansible playbooks to bring up an OpenStack Infra
Go to file
Jenkins 31453437b2 Merge "Fix the set_hostnames role when using default inventory behaviour" 2016-06-07 09:26:50 +00:00
group_vars Remove dependency from system-config 2015-08-12 11:11:06 +02:00
roles Merge "Fix the set_hostnames role when using default inventory behaviour" 2016-06-07 09:26:50 +00:00
.gitignore Merge "Ignore <playbook>.retry files on git" 2016-03-07 21:59:01 +00:00
.gitreview Add a .gitreview 2015-08-27 17:36:51 -05:00
README.md Add keypairs to infra_config sample and option to use key file 2016-03-21 12:12:56 +02:00
Vagrantfile Reworked setup_env.sh to support Debian & Darwin/OSX 2016-03-12 23:10:46 +00:00
bootstrap_gerrit.yml Fix sudo/become deprecation warnings 2016-06-06 15:12:49 +00:00
bootstrap_jjb.yml Fix sudo/become deprecation warnings 2016-06-06 15:12:49 +00:00
bootstrap_puppet_infra_nodes.yml Fix sudo/become deprecation warnings 2016-06-06 15:12:49 +00:00
bootstrap_puppetmaster.yml Fix sudo/become deprecation warnings 2016-06-06 15:12:49 +00:00
common.yml Fix sudo/become deprecation warnings 2016-06-06 15:12:49 +00:00
hosts Use virtualenv python binary 2016-01-15 09:15:19 +01:00
infra_config.yml.sample Add keypairs to infra_config sample and option to use key file 2016-03-21 12:12:56 +02:00
requirements.txt Pin ansible package to stable 2.0.0.2 2016-02-15 12:46:32 +01:00
run.sh Create and attach other required openstack resources 2016-02-16 15:08:10 +01:00
run_puppet_on_gerrit.yml Fix sudo/become deprecation warnings 2016-06-06 15:12:49 +00:00
run_puppet_on_jenkins.yml Fix sudo/become deprecation warnings 2016-06-06 15:12:49 +00:00
run_puppet_on_zuul.yml Fix sudo/become deprecation warnings 2016-06-06 15:12:49 +00:00
set_hostnames.yml Fix sudo/become deprecation warnings 2016-06-06 15:12:49 +00:00
setup_env.sh Reworked setup_env.sh to support Debian & Darwin/OSX 2016-03-12 23:10:46 +00:00
setup_openstack_resources.yml Create and attach other required openstack resources 2016-02-16 15:08:10 +01: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

README.md

Instructions

  1. Run source setup_env.sh
  2. Source your OpenStack cloud environment variables rc file
  3. Run cp infra_config.yml.sample infra_config.yml
  4. Edit infra_config.yml and put your environment values
  5. Run bash run.sh

Notes

In infra_config.yml you may specify public key file instead of public key content, in the following way:

keypairs:
  - name: my_key_file
    public_key_file: /home/<my_user>/.ssh/<key_file>

Do not specify both 'public_key' and 'public_key_file', as they are mutual exclusive variables in Ansible.