summaryrefslogtreecommitdiff
path: root/test/integration/targets/aci_encap_pool_range/tasks/vsan.yml
blob: 3b3d20d251e3a179b951374aac3cc1259ea5ecdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- 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) }}'
    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