ansible/test/integration/targets/aci_encap_pool_range/tasks/vsan.yml
Dag Wieers d8ba8c03f3
ACI: Make querying links and nodes possible (#43441)
This functionality was not considered when the module was written, but
there's no reason why it shouldn't be supported.

We had to rework the query string construction and object filtering.
This new functionality allows to filter on arbitrary keys and supports
None values.

This PR fixes various issues with the existing framework, including
querying specific objects using construct_url_4 (i.e.
aci_epg_to_contract and aci_static_binding_to_epg)
2018-08-07 23:54:54 +02:00

20 lines
654 B
YAML

- 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