Collection of Ansible playbooks to bring up an OpenStack Infra
Go to file
Ricardo Carrillo Cruz ba3b591b86 Change the old meta gerrit group to the expected 'gerrit' group
The code is switching from relying on metadata based groups to
dynamically created groups with add_host.
As such, the group containing gerrit is now 'gerrit'.

Change-Id: I235e445f9e0f7e94f52a0c9dfc0df80b55d49bc1
2016-06-07 14:53:18 +00:00
group_vars Remove dependency from system-config 2015-08-12 11:11:06 +02:00
roles Change the old meta gerrit group to the expected 'gerrit' group 2016-06-07 14:53:18 +00:00
.gitignore Switch the provisioning step to the cloud launcher role 2016-06-07 13:35:47 +00:00
.gitreview Add a .gitreview 2015-08-27 17:36:51 -05:00
ansible.cfg Switch the provisioning step to the cloud launcher role 2016-06-07 13:35:47 +00:00
bootstrap_gerrit.yml Change the old meta gerrit group to the expected 'gerrit' group 2016-06-07 14:53:18 +00:00
bootstrap_jjb.yml Fix sudo/become deprecation warnings 2016-06-06 15:12:49 +00:00
bootstrap_puppet_infra_nodes.yml Change the old meta puppetmaster group to the expected 'puppetmaster' group 2016-06-07 14:45:31 +00:00
bootstrap_puppetmaster.yml Change the old meta puppetmaster group to the expected 'puppetmaster' group 2016-06-07 14:45:31 +00:00
common.yml Fix sudo/become deprecation warnings 2016-06-06 15:12:49 +00:00
generate_infra_dynamic_groups.yml Add generate infra dynamic inventory playbook/role 2016-06-07 13:36:37 +00:00
hosts Use virtualenv python binary 2016-01-15 09:15:19 +01:00
infra_config.yml.sample Add generate infra dynamic inventory playbook/role 2016-06-07 13:36:37 +00:00
README.md Switch the provisioning step to the cloud launcher role 2016-06-07 13:35:47 +00:00
requirements.txt Switch the provisioning step to the cloud launcher role 2016-06-07 13:35:47 +00:00
requirements.yml Switch the provisioning step to the cloud launcher role 2016-06-07 13:35:47 +00:00
resources.yml.sample Switch the provisioning step to the cloud launcher role 2016-06-07 13:35:47 +00:00
run_puppet_on_gerrit.yml Change the old meta gerrit group to the expected 'gerrit' group 2016-06-07 14:53:18 +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
run.sh Switch the provisioning step to the cloud launcher role 2016-06-07 13:35:47 +00:00
set_hostnames.yml Fix sudo/become deprecation warnings 2016-06-06 15:12:49 +00:00
setup_env.sh Switch the provisioning step to the cloud launcher role 2016-06-07 13:35:47 +00:00
setup_openstack_resources.yml Switch the provisioning step to the cloud launcher role 2016-06-07 13:35:47 +00:00
site.yml Add generate infra dynamic inventory playbook/role 2016-06-07 13:36:37 +00:00
tox.ini Switch the provisioning step to the cloud launcher role 2016-06-07 13:35:47 +00: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 resources.yml.sample resources.yml
  4. Edit resources.yml and put your environment values
  5. Run bash run.sh

Notes

In resources.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.