ansible/test/integration/targets/nxos_smoke/tests/cli/misc_tests.yaml
Nathaniel Case c6270e15a6
Remove provider (and transport, where applicable) from consideration when not using connection=local (#39555)
* Remove provider (and transport, where applicable) from consideration

* Add tests that misplaced transport does not fail task
2018-05-08 12:06:37 -04:00

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'"