|
|
@ -1,6 +1,11 @@
|
|
|
|
---
|
|
|
|
---
|
|
|
|
- debug: msg="START eapi/not_hardware_facts.yaml"
|
|
|
|
- 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
|
|
|
|
- name: test not hardware
|
|
|
|
eos_facts:
|
|
|
|
eos_facts:
|
|
|
@ -27,4 +32,10 @@
|
|
|
|
# ... and not present
|
|
|
|
# ... and not present
|
|
|
|
- "result.ansible_facts.ansible_net_filesystems is not defined"
|
|
|
|
- "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"
|
|
|
|
- debug: msg="END eapi/not_hardware_facts.yaml"
|
|
|
|