mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
c6270e15a6
* Remove provider (and transport, where applicable) from consideration * Add tests that misplaced transport does not fail task
17 lines
444 B
YAML
17 lines
444 B
YAML
---
|
|
- debug: msg="START cli/misc_tests.yaml on connection={{ ansible_connection }}"
|
|
|
|
|
|
- block:
|
|
# Test that transport values are properly ignored
|
|
- name: wrong transport specified
|
|
eos_command:
|
|
commands: show version
|
|
transport: nxapi
|
|
|
|
- name: wrong transport specified in provider
|
|
eos_command:
|
|
commands: show version
|
|
provider: "{{ nxapi }}"
|
|
|
|
when: "ansible_connection != 'local'"
|