In this recipe, we outline how to install NAPALM and integrate it to work with Ansible. This task is mandatory since NAPALM Ansible modules are not part of the core modules that are shipped with Ansible by default. So, in order to start working with these modules, we need to install NAPALM and all of its Ansible modules. Then, we need to inform Ansible of where to find it and start working with the specific modules developed by the NAPALM team for Ansible.
Ansible and Python 3 need to be installed on the machine, along with the python3-pip package, which we will use to install NAPALM.