Collection of Ansible playbooks to bring up an OpenStack Infra
Go to file
Ricardo Carrillo Cruz 8d92825775 Provide more realistic resources.yml.sample
The previous resources.yml.sample was a copy-paste from
the cloud-launcher resources.yml.sample file.
This looks like more as a test deployment for a minimal
infra, also matching names on infra_config.yml services dict.

Change-Id: I10cc518686940009946c201b1b19b9e612cb39b2
2016-06-09 12:35:17 +00:00
group_vars Remove dependency from system-config 2015-08-12 11:11:06 +02:00
roles Reuse the puppet-openstackci zuul scheduler class 2016-06-08 14:27:56 +00:00
.gitignore Add infra_config.yml to .gitignore 2016-06-08 11:50:57 +02:00
.gitreview Add a .gitreview 2015-08-27 17:36:51 -05:00
README.md 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
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 Change the old meta jenkins group to the expected 'jenkins' group 2016-06-07 15:12:06 +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
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 Provide more realistic resources.yml.sample 2016-06-09 12:35:17 +00:00
run.sh 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 Change the old meta jenkins group to the expected 'jenkins' group 2016-06-07 15:12:06 +00:00
run_puppet_on_zuul.yml Change the old meta zuul group to the expected 'zuul' group 2016-06-07 14:56:51 +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 Wait for server to be ssh reachable before bootstrap/configuration 2016-06-08 14:54:16 +00:00
tox.ini Switch the provisioning step to the cloud launcher role 2016-06-07 13:35:47 +00:00
wait_for_servers.yml Wait for server to be ssh reachable before bootstrap/configuration 2016-06-08 14:54:16 +00:00

README.md

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.