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