
Rather than expecting a user to create keypair prior to run infra-ansible, just make infra-ansible to create the keypair per the variable passed as keypair_contents on infra_config.yml. Role provision_infra_servers not only creates instances, but also volumes and now kepairs, thus also renaming the provision_infra_servers role and playbook to setup_openstack_resources. Change-Id: I810edf1b8956d2f5653aa789ce908428c2904549
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
Description
Languages
Jinja
44.3%
Shell
33.7%
Python
21.5%
Puppet
0.5%