Comments (3)
Workaround: downgrade netaddr
python3 -m pip install 'netaddr<1.0'
from ansible.utils.
Proposed a PR that should resolve this issue
from ansible.utils.
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'
from ansible.utils.
Related Issues (20)
- validate does not resolve external references HOT 1
- No changelog since 2.9.0 HOT 5
- Implment `_requires_connection` for action plugins
- ansible.utils.ip4_hex shall be have an ansible.utils.ip6_hex equivalent and the validate the input
- ipaddr is too eager to evaluate variables types
- Enable AnsibleArgSpecValidator to valdate documentation fragments
- fact_diff show all common lines HOT 1
- Missing a complete changelog / release notes
- cli_parse not finding relative template_path when used in role HOT 1
- CLI Parse Parser ansible.netcommon.ntc_templates ntc template fails with /bin/sh: 1: show: not found HOT 5
- ansible.utils.ipaddr('private') filter fails with AttributeError: 'IPAddress' object has no attribute 'is_global' HOT 6
- cli_parse not execute command on remote host HOT 5
- update_fact fails when path contains a key with a bracket in its name
- Failed to import the required Python library (netaddr) HOT 3
- keep_keys doesn't exclude a key if the value is list.
- ipaddr does not recognize /25 networks with a .128 network
- Extract interface identifiers from addresses and create addresses from interface identifiers
- ansible.utils.ipaddr('host/prefix') should not parse non CIDR IP. HOT 3
- Requirements (on netaddr) missing on the ansible.utils.ipaddr filter page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible.utils.