mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Fix eos integration test failures (#37020)
Fixes #36919 Fix other eos modules integration test failure in dci
This commit is contained in:
parent
bcdaba57b5
commit
ba3201cd2f
6 changed files with 41 additions and 18 deletions
|
@ -1,6 +1,11 @@
|
|||
---
|
||||
- debug: msg="START eapi/all_facts.yaml"
|
||||
|
||||
- name: Make sure LLDP is running (setup)
|
||||
eos_config:
|
||||
lines: lldp run
|
||||
authorize: yes
|
||||
provider: "{{ eapi }}"
|
||||
|
||||
- name: test getting all facts
|
||||
eos_facts:
|
||||
|
@ -9,8 +14,6 @@
|
|||
- all
|
||||
register: result
|
||||
|
||||
|
||||
|
||||
- assert:
|
||||
that:
|
||||
# _facts modules should never report a change
|
||||
|
@ -28,4 +31,10 @@
|
|||
- "result.ansible_facts.ansible_net_memfree_mb > 1"
|
||||
- "result.ansible_facts.ansible_net_memtotal_mb > 1"
|
||||
|
||||
- name: Make sure LLDP is running (teardown)
|
||||
eos_config:
|
||||
lines: no lldp run
|
||||
authorize: yes
|
||||
provider: "{{ eapi }}"
|
||||
|
||||
- debug: msg="END eapi/all_facts.yaml"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue