mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
f04c876ecd
* Alter nxos_nxapi tests to test the right thing * Defend #40027
17 lines
377 B
YAML
17 lines
377 B
YAML
---
|
|
- debug: msg="START nxapi/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 nxapi/badtransport.yaml"
|