diff --git a/changelogs/fragments/ipaddr.yaml b/changelogs/fragments/ipaddr.yaml new file mode 100644 index 00000000..d52821ea --- /dev/null +++ b/changelogs/fragments/ipaddr.yaml @@ -0,0 +1,3 @@ +--- +trivial: + - Added the requirements on netaddr in ansible.utils.ipaddr diff --git a/docs/ansible.utils.ipaddr_filter.rst b/docs/ansible.utils.ipaddr_filter.rst index 169caf6f..dd51e217 100644 --- a/docs/ansible.utils.ipaddr_filter.rst +++ b/docs/ansible.utils.ipaddr_filter.rst @@ -23,6 +23,12 @@ Synopsis +Requirements +------------ +The below requirements are needed on the local Ansible controller node that executes this filter. + +- netaddr + Parameters ---------- diff --git a/plugins/filter/ipaddr.py b/plugins/filter/ipaddr.py index 29dc1891..3ebb0ddd 100644 --- a/plugins/filter/ipaddr.py +++ b/plugins/filter/ipaddr.py @@ -76,6 +76,8 @@ class mac_linux(netaddr.mac_unix): type: str description: type of filter. example ipaddr, ipv4, ipv6, ipwrap notes: + requirements: + - netaddr """ EXAMPLES = r"""