mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Nxos fixes (#40117)
* Alter nxos_nxapi tests to test the right thing * Defend #40027
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
---
|
||||
- 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"
|
||||
Reference in New Issue
Block a user