mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
Fix eos_eapi integration test failure (#40132)
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
- debug: msg="START CLI/BADTRANSPORT.YAML"
|
||||
|
||||
- name: Expect transport other than cli to fail
|
||||
eos_eapi:
|
||||
provider: "{{ eapi }}"
|
||||
register: eos_eapi_output
|
||||
connection: local
|
||||
ignore_errors: yes
|
||||
- block:
|
||||
- name: Expect transport other than cli to fail
|
||||
eos_eapi:
|
||||
provider: "{{ eapi }}"
|
||||
register: eos_eapi_output
|
||||
ignore_errors: yes
|
||||
|
||||
- assert:
|
||||
that: eos_eapi_output.failed == true
|
||||
- assert:
|
||||
that: eos_eapi_output.failed == true
|
||||
when: "ansible_connection == 'local'"
|
||||
|
||||
- debug: msg="START CLI/BADTRANSPORT.YAML"
|
||||
|
||||
Reference in New Issue
Block a user