Closed weehal closed 8 months ago
Workaround: downgrade netaddr
python3 -m pip install 'netaddr<1.0'
Also with bump version more problems
"hostvars[inventory_hostname]['ansible_' + interface]['ipv4']['address'] | ansible.utils.ipaddr('private')"
The conditional check 'hostvars[inventory_hostname]['ansible_' + interface]['ipv4']['address'] | ansible.utils.ipaddr('private')' failed. The error was: 'IPNetwork' object has no attribute 'is_private'
Proposed a PR that should resolve this issue
SUMMARY
New release of Netaddr was released 2 days ago 1.0.0 with a breaking changes:
IPAddress.is_private
method.ISSUE TYPE
COMPONENT NAME
ansible.utils
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
PASS
ACTUAL RESULTS