1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/aci_domain/tasks/main.yml

24 lines
794 B
YAML

# Test code for the ACI modules
# Copyright 2018, Dag Wieers (@dagwieers) <dag@wieers.com>
# 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: phys.yml
when: phys is not defined or phys
- include_tasks: l2dom.yml
when: l2dom is not defined or l2dom
- include_tasks: l3dom.yml
when: l3dom is not defined or l3dom
- include_tasks: fc.yml
when: fc is not defined or fc
- include_tasks: vmm-vmware.yml
when: vmm_vmware is not defined or vmm_vmware