# The ipaddr filter requires python's netaddr be installed on the ansible controller"

**URL:** <https://forum.ansible.com/t/the-ipaddr-filter-requires-pythons-netaddr-be-installed-on-the-ansible-controller/33175>\
**Category:** Ansible Project\
**Tags:** vmware\
**Created:** [June 14, 2020, 6:13pm UTC](https://forum.ansible.com/t/the-ipaddr-filter-requires-pythons-netaddr-be-installed-on-the-ansible-controller/33175 "2020-06-14T18:13:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tony\_Wong](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Post date:** [June 14, 2020, 6:13pm UTC](https://forum.ansible.com/t/the-ipaddr-filter-requires-pythons-netaddr-be-installed-on-the-ansible-controller/33175/1 "2020-06-14T18:13:21Z")

</div>

any idea what this error is?

TASK [vcsa-deploy : Create a task from the template to deploy VCSA with embedded PSC]\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

task path: /home/tony/ansible-vmware/vsphere-sddc/playbooks/roles/vcsa-deploy/tasks/deploy.yml:25  
\<127.0.0.1\> ESTABLISH LOCAL CONNECTION FOR USER: tony  
\<127.0.0.1\> EXEC /bin/sh -c ‘echo ~tony && sleep 0’  
\<127.0.0.1\> EXEC /bin/sh -c ‘( umask 77 && mkdir -p “`echo /home/tony/.ansible/tmp/ansible-tmp-1592158323.67-138892490576503`” && echo ansible-tmp-1592158323.67-138892490576503=“`echo /home/tony/.ansible/tmp/ansible-tmp-1592158323.67-138892490576503`” ) && sleep 0’  
\<127.0.0.1\> EXEC /bin/sh -c ‘rm -f -r /home/tony/.ansible/tmp/ansible-tmp-1592158323.67-138892490576503/ \> /dev/null 2\>&1 && sleep 0’  
fatal: [127.0.0.1]: FAILED! =\> {  
“changed”: false,  
“msg”: “AnsibleFilterError: The ipaddr filter requires python’s netaddr be installed on the ansible controller”  
}

---

<div class="post-metadata">

**Author:** ![Scott\_Sturdivant](https://avatars.discourse-cdn.com/v4/letter/s/f14d63/32.png) [@Scott\_Sturdivant](https://forum.ansible.com/u/Scott_Sturdivant)\
**Post date:** [June 14, 2020, 6:23pm UTC](https://forum.ansible.com/t/the-ipaddr-filter-requires-pythons-netaddr-be-installed-on-the-ansible-controller/33175/2 "2020-06-14T18:23:54Z")

</div>

Yes, you must have the netaddr python library installed on your controller.

Read the first few sentences here: [https://docs.ansible.com/ansible/latest/user\_guide/playbooks\_filters\_ipaddr.html](https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters_ipaddr.html)

---

<div class="post-metadata">

**Author:** ![Tony\_Wong](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Post date:** [June 14, 2020, 6:54pm UTC](https://forum.ansible.com/t/the-ipaddr-filter-requires-pythons-netaddr-be-installed-on-the-ansible-controller/33175/3 "2020-06-14T18:54:01Z")

</div>

thanks
