Closed twimprine closed 4 months ago
Hi there, It's kind of a duplicate of https://github.com/ansible-community/ansible-consul/pull/564 The package does not necessarily have to be installed with apt, the issue is that the virtualenv is not activated properly (bug aside, ansible-consul role support isolated python env using virtual env, which works well on Debian and other systems).
Debian checks the python environment and will not install the netaddr packages through python - instead it needs to be installed at a package via apt.
Added the checks to keep it from executing in the python env and installing with apt