arista.eos.eos – Use eAPI to run command on eos platform

Note

This plugin is part of the arista.eos collection (version 3.1.0).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install arista.eos.

To use it in a playbook, specify: arista.eos.eos.

New in version 1.0.0: of arista.eos

Synopsis

  • This eos plugin provides low level abstraction api’s for sending and receiving CLI commands with eos network devices.

Parameters

Parameter Choices/Defaults Configuration Comments
eos_use_sessions
integer
Default:
1
env:ANSIBLE_EOS_USE_SESSIONS
var: ansible_eos_use_sessions
Specifies if sessions should be used on remote host or not

Authors

  • Ansible Networking Team