In this recipe, we will outline how to retrieve the basis system facts collected by Ansible for an Arista device running the Arista EOS software. These basic system facts provide us with a basic health check regarding our Arista devices, which we can use to validate its operational state.
Gathering Arista device facts
Getting ready
eAPI must be enabled on the Arista devices so you can use the Ansible modules in this recipe.
How to do it...
- Create a new playbook, pb_arista_facts.yml, with the following task to collect the facts:
$ cat pb_jnpr_facts.yml
---
- name: Collect...