50ccb8c835
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
4 lines
166 B
Bash
Executable File
4 lines
166 B
Bash
Executable File
#!/bin/bash
|
|
ansible-playbook -i hosts setup_openstack_resources.yml -e "@infra_config.yml"
|
|
ansible-playbook -i inventory/openstack.py site.yml -e "@infra_config.yml"
|