You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/nxos_nxapi/tests/cli/badtransport.yaml

18 lines
373 B
YAML

---
- debug: msg="START cli/badtransport.yaml"
- name: Sending transport other than cli should fail
nxos_nxapi:
enable_http: no
enable_sandbox: no
https_port: 9443
provider: "{{ nxapi }}"
register: result
ignore_errors: yes
- assert:
that:
- result.failed and result.msg is search('transport')
- debug: msg="END cli/badtransport.yaml"