2017-09-05 08:43:03 +02:00
|
|
|
# Test code for the ACI modules
|
2018-02-19 12:01:14 +01:00
|
|
|
# Copyright: (c) 2017, Dag Wieers (@dagwieers) <dag@wieers.com>
|
2017-09-05 08:43:03 +02:00
|
|
|
|
|
|
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
|
|
|
2018-02-19 12:01:14 +01:00
|
|
|
- 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
|
|
|
|
|
2017-09-05 09:24:48 +02:00
|
|
|
- include_tasks: yaml_inline.yml
|
|
|
|
tags: yaml_inline
|
2017-09-05 08:43:03 +02:00
|
|
|
|
2017-09-05 09:24:48 +02:00
|
|
|
- include_tasks: yaml_string.yml
|
|
|
|
tags: yaml_string
|
2017-09-05 08:43:03 +02:00
|
|
|
|
2017-09-05 09:24:48 +02:00
|
|
|
- include_tasks: json_inline.yml
|
|
|
|
tags: json_inline
|
2017-09-05 08:43:03 +02:00
|
|
|
|
2017-09-05 09:24:48 +02:00
|
|
|
- include_tasks: json_string.yml
|
|
|
|
tags: json_string
|
2017-09-05 08:43:03 +02:00
|
|
|
|
2017-09-05 09:24:48 +02:00
|
|
|
- include_tasks: xml_string.yml
|
|
|
|
tags: xml_string
|
2018-02-19 12:01:14 +01:00
|
|
|
|
|
|
|
- include_tasks: error_handling.yml
|
|
|
|
tags: error_handling
|