ansible/test/integration/targets/aci_encap_pool_range/tasks/vxlan.yml
Dag Wieers 2bd0653488
ACI: Support validate_certs, use_ssl and use_proxy (#35146)
This PR includes:
- validate_certs, use_ssl and use_proxy support for the integration
  tests
2018-01-21 00:38:20 +01:00

18 lines
573 B
YAML

- name: ensure vxlan 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: vxlan
description: Ansible Test
- name: cleanup vxlan pool
aci_encap_pool:
<<: *aci_pool_present
state: absent
when: pool_present.changed == true