Debian Codegraph @

ansible_collections/cisco/aci/tests/integration/targets/aci_encap_pool/tasks/main.yml

raw symbols SCIP
1 # Test code for the ACI modules
2 # Copyright: (c) 2017, Jacob McGill (@jmcgill298)
3
4 # GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt)
5
6 - name: test that we have an aci apic host, aci username and aci password
7 ansible.builtin.fail:
8 msg: 'Please define the following variables: aci_hostname, aci_username and aci_password.'
9 when: aci_hostname is not defined or aci_username is not defined or aci_password is not defined
10
11 - name: Verify Cloud and Non-Cloud Sites in use.
12 ansible.builtin.include_tasks: ../../../../../../integration/targets/aci_cloud_provider/tasks/main.yml
13
14 - name: Execute tasks only for non-cloud sites
15 when: query_cloud.current == [] # This condition will execute only non-cloud sites
16 block: # block specifies execution of tasks within, based on conditions
17 - include_tasks: vlan.yml
18 when: vlan is not defined or vlan
19
20 - include_tasks: vxlan.yml
21 when: vxlan is not defined or vxlan
22
23 - include_tasks: vsan.yml
24 when: vsan is not defined or vsan