mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
511 B
YAML
25 lines
511 B
YAML
10 years ago
|
---
|
||
|
- name: setup ssh key
|
||
|
cs_sshkeypair: name={{ cs_resource_prefix }}-sshkey
|
||
|
register: sshkey
|
||
|
- name: verify setup ssh key
|
||
|
assert:
|
||
|
that:
|
||
|
- sshkey|success
|
||
|
|
||
|
- name: setup affinity group
|
||
|
cs_affinitygroup: name={{ cs_resource_prefix }}-ag
|
||
|
register: ag
|
||
|
- name: verify setup affinity group
|
||
|
assert:
|
||
|
that:
|
||
|
- ag|success
|
||
|
|
||
|
- name: setup security group
|
||
|
cs_securitygroup: name={{ cs_resource_prefix }}-sg
|
||
|
register: sg
|
||
|
- name: verify setup security group
|
||
|
assert:
|
||
|
that:
|
||
|
- sg|success
|