Closed djjuhasz closed 4 years ago
Ohhhh, I see - netaddr
is required on the controller not the target node. 🤦♂
I've never encountered a situation with Ansible where additional python libraries are required on the controller, so I totally didn't have this on my radar. :(
@djjuhasz
No worries, had the same issues when implementing it in the role 😉
Describe the bug
I get the following error when running the role against a Ubuntu 18.04 node.
pip3 and pip2 are both installed on the target node:
Installation method/version Installed using Ansible Galaxy, role version: 2.1.0
Ansible Version
Targetted hosts
Expected behavior Python netaddr library is installed and role runs to completion without a fatal error.
Additional context
The Ansible controller is running on a CentOS7 host.
If I run
pip install netaddr
directly on the target node, it installs fine:But after installing
netaddr
manually with pip, the role still fails on the same step: