Collection of Ansible playbooks to bring up an OpenStack Infra
028539a0f2
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. |
||
---|---|---|
group_vars | ||
roles | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
ansible.cfg | ||
bootstrap_gerrit.yml | ||
bootstrap_jjb.yml | ||
bootstrap_puppet_infra_nodes.yml | ||
bootstrap_puppetmaster.yml | ||
common.yml | ||
generate_infra_dynamic_groups.yml | ||
hosts | ||
infra_config.yml.sample | ||
README.md | ||
requirements.txt | ||
requirements.yml | ||
resources.yml.sample | ||
run_puppet_on_gerrit.yml | ||
run_puppet_on_jenkins.yml | ||
run_puppet_on_zuul.yml | ||
run.sh | ||
set_hostnames.yml | ||
set_resolv_conf.yml | ||
setup_env.sh | ||
setup_openstack_resources.yml | ||
site.yml | ||
tox.ini | ||
Vagrantfile | ||
wait_for_servers.yml |
Instructions
- Run
source setup_env.sh
- Source your OpenStack cloud environment variables rc file
- Run
cp resources.yml.sample resources.yml
- Edit resources.yml and put your environment values
- 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.