Collection of Ansible playbooks to bring up an OpenStack Infra
3e3a3b0ff0
Looks like the tox macro on project-config requires an env, thus creating a specific one to infra-ansible tox.ini. When this lands, I will amend the change on project-config that adds tox to have envlist value 'ansible-syntax-check'. Change-Id: Ide54e9d4b614cc687bed293a7835d6055212f7f8 |
||
---|---|---|
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 | ||
provision_infra_servers.yml | ||
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 | ||
site.yml | ||
tox.ini |
Instructions
- Run
bash setup_env.sh
- Run
source /opt/stack/ansible/hacking/env-setup
- 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