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.
18 lines
455 B
YAML
18 lines
455 B
YAML
7 years ago
|
- name: ensure vsan pool exists for tests to kick off
|
||
|
aci_encap_pool: &aci_pool_present
|
||
|
host: "{{ aci_hostname }}"
|
||
|
username: "{{ aci_username }}"
|
||
|
password: "{{ aci_password }}"
|
||
|
validate_certs: no
|
||
|
state: present
|
||
|
pool: anstest
|
||
|
pool_type: vsan
|
||
|
allocation_mode: static
|
||
|
description: Ansible Test
|
||
|
|
||
|
- name: cleanup vsan pool
|
||
|
aci_encap_pool:
|
||
|
<<: *aci_pool_present
|
||
|
state: absent
|
||
|
when: pool_present.changed == true
|