Fix eos integration test failures (#37020)

Fixes #36919

Fix other eos modules integration test failure in dci
This commit is contained in:
Ganesh Nalawade 2018-03-06 10:04:40 +05:30 committed by GitHub
commit ba3201cd2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 41 additions and 18 deletions

View file

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