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
7 lines
132 B
YAML
7 lines
132 B
YAML
---
|
|
# file: setup_openstack_resources.yml
|
|
- hosts: localhost
|
|
connection: local
|
|
roles:
|
|
- { role: setup_openstack_resources }
|