mirror of https://github.com/ansible/ansible.git
Fix eos_eapi integration test failure (#40132)
parent
9c0825a4cf
commit
dda351ca6c
@ -1,13 +1,14 @@
|
|||||||
- debug: msg="START CLI/BADTRANSPORT.YAML"
|
- debug: msg="START CLI/BADTRANSPORT.YAML"
|
||||||
|
|
||||||
|
- block:
|
||||||
- name: Expect transport other than cli to fail
|
- name: Expect transport other than cli to fail
|
||||||
eos_eapi:
|
eos_eapi:
|
||||||
provider: "{{ eapi }}"
|
provider: "{{ eapi }}"
|
||||||
register: eos_eapi_output
|
register: eos_eapi_output
|
||||||
connection: local
|
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
|
||||||
- assert:
|
- assert:
|
||||||
that: eos_eapi_output.failed == true
|
that: eos_eapi_output.failed == true
|
||||||
|
when: "ansible_connection == 'local'"
|
||||||
|
|
||||||
- debug: msg="START CLI/BADTRANSPORT.YAML"
|
- debug: msg="START CLI/BADTRANSPORT.YAML"
|
||||||
|
Loading…
Reference in New Issue