2016-10-28 20:50:29 +02:00
|
|
|
---
|
|
|
|
- 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:
|
2017-11-27 23:58:08 +01:00
|
|
|
- result.failed and result.msg is search('transport')
|
2016-10-28 20:50:29 +02:00
|
|
|
|
|
|
|
- debug: msg="END cli/badtransport.yaml"
|