summaryrefslogtreecommitdiff
path: root/test/integration/targets/eos_facts/tests/eapi/all_facts.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/eos_facts/tests/eapi/all_facts.yaml')
-rw-r--r--test/integration/targets/eos_facts/tests/eapi/all_facts.yaml8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/integration/targets/eos_facts/tests/eapi/all_facts.yaml b/test/integration/targets/eos_facts/tests/eapi/all_facts.yaml
index 0c01a536d1..5d755e1119 100644
--- a/test/integration/targets/eos_facts/tests/eapi/all_facts.yaml
+++ b/test/integration/targets/eos_facts/tests/eapi/all_facts.yaml
@@ -4,12 +4,13 @@
- name: Make sure LLDP is running (setup)
eos_config:
lines: lldp run
- authorize: yes
+ become: yes
- name: test getting all facts
eos_facts:
gather_subset:
- all
+ become: yes
register: result
- assert:
@@ -29,9 +30,4 @@
- "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
-
- debug: msg="END eapi/all_facts.yaml"