2017-12-12 08:51:19 +01:00
|
|
|
# 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
|
2018-02-15 02:59:54 +01:00
|
|
|
when: vlan is not defined or vlan
|
2017-12-12 08:51:19 +01:00
|
|
|
|
|
|
|
- include_tasks: vxlan.yml
|
2018-02-15 02:59:54 +01:00
|
|
|
when: vxlan is not defined or vxlan
|
2017-12-12 08:51:19 +01:00
|
|
|
|
|
|
|
- include_tasks: vsan.yml
|
2018-02-15 02:59:54 +01:00
|
|
|
when: vsan is not defined or vsan
|