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