mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
19 lines
740 B
YAML
19 lines
740 B
YAML
|
# Test code for the ACI modules
|
||
|
# Copyright 2017, Jacob McGill <jmcgill298
|
||
|
|
||
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||
|
|
||
|
- name: test that we have an aci apic host, aci username and aci password
|
||
|
fail:
|
||
|
msg: 'Please define the following variables: aci_hostname, aci_username and aci_password.'
|
||
|
when: aci_hostname is not defined or aci_username is not defined or aci_password is not defined
|
||
|
|
||
|
- include_tasks: vlan.yml
|
||
|
when: "vlan is not defined or (vlan is defined and vlan == 'True')"
|
||
|
|
||
|
- include_tasks: vxlan.yml
|
||
|
when: "vxlan is not defined or (vxlan is defined and vxlan == 'True')"
|
||
|
|
||
|
- include_tasks: vsan.yml
|
||
|
when: "vsan is not defined or (vsan is defined and vsan == 'True')"
|