2015-05-03 14:06:30 +00:00
|
|
|
---
|
|
|
|
- name: setup ssh key
|
|
|
|
cs_sshkeypair: name={{ cs_resource_prefix }}-sshkey
|
|
|
|
register: sshkey
|
|
|
|
- name: verify setup ssh key
|
|
|
|
assert:
|
|
|
|
that:
|
2017-11-27 22:58:08 +00:00
|
|
|
- sshkey is successful
|
2015-05-03 14:06:30 +00:00
|
|
|
|
|
|
|
- name: setup affinity group
|
|
|
|
cs_affinitygroup: name={{ cs_resource_prefix }}-ag
|
|
|
|
register: ag
|
|
|
|
- name: verify setup affinity group
|
|
|
|
assert:
|
|
|
|
that:
|
2017-11-27 22:58:08 +00:00
|
|
|
- ag is successful
|
2015-05-03 14:06:30 +00:00
|
|
|
|
|
|
|
- name: setup security group
|
|
|
|
cs_securitygroup: name={{ cs_resource_prefix }}-sg
|
|
|
|
register: sg
|
|
|
|
- name: verify setup security group
|
|
|
|
assert:
|
|
|
|
that:
|
2017-11-27 22:58:08 +00:00
|
|
|
- sg is successful
|