In this recipe, we will outline how to connect to both Juniper and IOS-XR nodes using Ansible, in order to start interacting with the devices.
Connecting and authenticating to network devices using Ansible
Getting ready
In order to follow along with this recipe, an Ansible inventory file should be constructed as per the previous recipe. Also, IP reachability between the Ansible control machine and all the devices in the network must be configured.
How to do it...
- On the Juniper devices, configure the username and password, as shown in the following code block:
system...