Collection of Ansible playbooks to bring up an OpenStack Infra
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenDev Sysadmins 028539a0f2 OpenDev Migration Patch 1 month ago
group_vars Remove dependency from system-config 3 years ago
roles OpenDev Migration Patch 1 month ago
.gitignore Add infra_config.yml to .gitignore 3 years ago
.gitreview OpenDev Migration Patch 1 month ago
.zuul.yaml Import infra-ansible job 1 year ago
README.md Switch the provisioning step to the cloud launcher role 3 years ago
Vagrantfile Reworked setup_env.sh to support Debian & Darwin/OSX 3 years ago
ansible.cfg Switch the provisioning step to the cloud launcher role 3 years ago
bootstrap_gerrit.yml Change the old meta gerrit group to the expected 'gerrit' group 3 years ago
bootstrap_jjb.yml Change the old meta jenkins group to the expected 'jenkins' group 3 years ago
bootstrap_puppet_infra_nodes.yml Change the old meta puppetmaster group to the expected 'puppetmaster' group 3 years ago
bootstrap_puppetmaster.yml Change the old meta puppetmaster group to the expected 'puppetmaster' group 3 years ago
common.yml Fix sudo/become deprecation warnings 3 years ago
generate_infra_dynamic_groups.yml Add generate infra dynamic inventory playbook/role 3 years ago
hosts Use virtualenv python binary 3 years ago
infra_config.yml.sample Make services optional 3 years ago
requirements.txt Switch the provisioning step to the cloud launcher role 3 years ago
requirements.yml Replace openstack.org git:// URLs with https:// 2 months ago
resources.yml.sample Provide more realistic resources.yml.sample 3 years ago
run.sh Switch the provisioning step to the cloud launcher role 3 years ago
run_puppet_on_gerrit.yml Change the old meta gerrit group to the expected 'gerrit' group 3 years ago
run_puppet_on_jenkins.yml Change the old meta jenkins group to the expected 'jenkins' group 3 years ago
run_puppet_on_zuul.yml Change the old meta zuul group to the expected 'zuul' group 3 years ago
set_hostnames.yml Fix sudo/become deprecation warnings 3 years ago
set_resolv_conf.yml Set resolv.conf on nodes before bootstrap 3 years ago
setup_env.sh Switch the provisioning step to the cloud launcher role 3 years ago
setup_openstack_resources.yml Switch the provisioning step to the cloud launcher role 3 years ago
site.yml Set hostnames before the common play 3 years ago
tox.ini Switch the provisioning step to the cloud launcher role 3 years ago
wait_for_servers.yml Wait for server to be ssh reachable before bootstrap/configuration 3 years ago

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.