abb0f4498f
* Fixes to improve ios_system idempotency (#38303) Added detection of additional formatting for domain_name, domain_search, lookup_source, and lookup_enabled on some software versions. In each case they failed to detect existing commands with a '-' in it. Fix: #38301 (cherry picked from commit67acffb5f2
) * Nxos fixes (#40117) * Alter nxos_nxapi tests to test the right thing * Defend #40027 (cherry picked from commitf04c876ecd
)
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"
|