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