In this recipe, we will outline how to connect to Arista devices from Ansible via Secure Shell (SSH) in order to start managing the devices from Ansible. We are going to use a username and password to authenticate the Arista devices in our topology.
Connecting to and authenticating Arista devices from Ansible
Getting ready
In order to follow along with this recipe, an Ansible inventory file should be constructed as per the previous recipe. IP reachability between the Ansible control machine and all the devices in the network must also be implemented.
How to do it...
- Inside...