kubeasz icon indicating copy to clipboard operation
kubeasz copied to clipboard

The ipaddr filter requires python-netaddr be installed on the ansible controller

Open H121 opened this issue 4 years ago • 4 comments

image 请问有人遇到这个问题吗

H121 avatar Nov 12 '20 14:11 H121

fatal: [192.168.1.100]: FAILED! => {"changed": false, "msg": "AnsibleFilterError: {{ SERVICE_CIDR | ipaddr('net') | ipaddr(1) | ipaddr('address') }}: The ipaddr filter requires python-netaddr be installed on the ansible controller"}

需要安装 python-netaddr,安装命令pip install netaddr

安装pip

wget https://bootstrap.pypa.io/get-pip.py

python get-pip.py 

pretendfine avatar Nov 16 '20 03:11 pretendfine

fatal: [192.168.1.100]: FAILED! => {"changed": false, "msg": "AnsibleFilterError: {{ SERVICE_CIDR | ipaddr('net') | ipaddr(1) | ipaddr('address') }}: The ipaddr filter requires python-netaddr be installed on the ansible controller"}

需要安装 python-netaddr,安装命令pip install netaddr

安装pip

wget https://bootstrap.pypa.io/get-pip.py

python get-pip.py 

No,I installed it. This is what I am confused about

H121 avatar Nov 16 '20 03:11 H121

我也遇到了,郁闷。

david0718 avatar Feb 08 '21 07:02 david0718

fatal: [192.168.1.100]: FAILED! => {"changed": false, "msg": "AnsibleFilterError: {{ SERVICE_CIDR | ipaddr('net') | ipaddr(1) | ipaddr('address') }}: The ipaddr filter requires python-netaddr be installed on the ansible controller"} 需要安装 python-netaddr,安装命令pip install netaddr 安装pip wget https://bootstrap.pypa.io/get-pip.py

python get-pip.py 

No,I installed it. This is what I am confused about

check your python(pip) version,ansible may use the wrong Python interpreter

the-elder avatar Aug 19 '21 06:08 the-elder

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Dec 09 '22 21:12 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Dec 17 '22 21:12 github-actions[bot]