Collection of Ansible playbooks to bring up an OpenStack Infra
Go to file
2016-04-12 00:35:31 +00:00
group_vars Remove dependency from system-config 2015-08-12 11:11:06 +02:00
roles Fix tiny styling issue 2016-03-22 10:08:19 +02: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
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 keypairs to infra_config sample and option to use key file 2016-03-21 12:12:56 +02:00
README.md 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_puppet_on_gerrit.yml Fix run_puppet_on_*.yml files 2016-03-20 17:14:39 +02:00
run_puppet_on_jenkins.yml Fix run_puppet_on_*.yml files 2016-03-20 17:14:39 +02:00
run_puppet_on_zuul.yml Fix run_puppet_on_*.yml files 2016-03-20 17:14:39 +02:00
run.sh Create and attach other required openstack resources 2016-02-16 15:08:10 +01:00
set_hostnames.yml Disable facts gathering on top-level playbooks 2015-05-13 12:58:36 +02: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
Vagrantfile Reworked setup_env.sh to support Debian & Darwin/OSX 2016-03-12 23:10:46 +00:00

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.