1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/aci_encap_pool_range/tasks/vsan.yml

21 lines
654 B
YAML
Raw Normal View History

- 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: '{{ aci_validate_certs | default(false) }}'
use_ssl: '{{ aci_use_ssl | default(true) }}'
use_proxy: '{{ aci_use_proxy | default(true) }}'
output_level: '{{ aci_output_level | default("info") }}'
pool: anstest
pool_type: vsan
allocation_mode: static
description: Ansible Test
state: present
- name: cleanup vsan pool
aci_encap_pool:
<<: *aci_pool_present
state: absent
when: pool_present is changed