Fix eos_facts eapi integration test failures (#37301)

This commit is contained in:
Ganesh Nalawade 2018-03-12 20:12:44 +05:30 committed by GitHub
parent 3ce325e35e
commit c1008d693c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 0 deletions

View file

@ -1,6 +1,11 @@
---
- debug: msg="START eapi/default_facts.yaml"
- name: Make sure LLDP is running (setup)
eos_config:
lines: lldp run
authorize: yes
provider: "{{ eapi }}"
- name: test getting default facts
eos_facts:
@ -28,4 +33,10 @@
# ... and not present
- "result.ansible_facts.ansible_net_config is not defined" # config
- name: Make sure LLDP is running (setup)
eos_config:
lines: lldp run
authorize: yes
provider: "{{ eapi }}"
- debug: msg="END eapi/default.yaml"

View file

@ -1,6 +1,11 @@
---
- debug: msg="START eapi/not_hardware_facts.yaml"
- name: Make sure LLDP is running (setup)
eos_config:
lines: lldp run
authorize: yes
provider: "{{ eapi }}"
- name: test not hardware
eos_facts:
@ -27,4 +32,10 @@
# ... and not present
- "result.ansible_facts.ansible_net_filesystems is not defined"
- name: Make sure LLDP is running (teardown)
eos_config:
lines: no lldp run
authorize: yes
provider: "{{ eapi }}"
- debug: msg="END eapi/not_hardware_facts.yaml"