2016-10-28 18:50:29 +00:00
|
|
|
---
|
2018-05-15 15:55:47 +00:00
|
|
|
- debug: msg="START nxapi/badtransport.yaml"
|
2016-10-28 18:50:29 +00:00
|
|
|
|
|
|
|
- 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:
|
2018-05-15 15:55:47 +00:00
|
|
|
- result.failed and result.msg is search('Transport')
|
2016-10-28 18:50:29 +00:00
|
|
|
|
2018-05-15 15:55:47 +00:00
|
|
|
- debug: msg="END nxapi/badtransport.yaml"
|