Collection of Ansible playbooks to bring up an OpenStack Infra
Go to file
OpenDev Sysadmins 028539a0f2 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:49:49 +00:00
group_vars Remove dependency from system-config 2015-08-12 11:11:06 +02:00
roles OpenDev Migration Patch 2019-04-19 19:49:49 +00:00
.gitignore Add infra_config.yml to .gitignore 2016-06-08 11:50:57 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:49:49 +00:00
.zuul.yaml Import infra-ansible job 2018-02-03 16:41:26 +01: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 Make services optional 2016-06-17 10:48:36 +00:00
requirements.txt Switch the provisioning step to the cloud launcher role 2016-06-07 13:35:47 +00:00
requirements.yml Replace openstack.org git:// URLs with https:// 2019-03-24 20:33:50 +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
set_resolv_conf.yml Set resolv.conf on nodes before bootstrap 2016-06-09 12:15:40 +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 Set hostnames before the common play 2016-06-24 12:58:36 +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.