# Test code for the MSO modules
# Copyright: (c) 2020, Anvitha Jain (@anvitha-jain) <anvjain@cisco.com>
#

# GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt)

- name: Test that we have an ACI MultiSite host, username and password
  fail:
    msg: 'Please define the following variables: mso_hostname, mso_username and mso_password.'
  when: mso_hostname is not defined or mso_username is not defined or mso_password is not defined

- include_tasks: json_inline.yml
  tags: json_inline

- include_tasks: json_string.yml
  tags: json_string

- include_tasks: json_template.yml
  tags: json_template

- include_tasks: yaml_inline.yml
  tags: yaml_inline

- include_tasks: yaml_string.yml
  tags: yaml_string

- include_tasks: error_handling.yml
  tags: error_handling
