From 4ea2ac89b224197381f04b8e02a117101d9776d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Geeraerts?= <10222438+b-enoit-be@users.noreply.github.com> Date: Wed, 25 Sep 2024 01:28:38 +0200 Subject: [PATCH 1/4] Added requirement on netaddr --- plugins/filter/ipaddr.py | 2 ++ 1 file changed, 2 insertions(+) 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""" From cbadf91be28c6517d3b6dde1ffa9fb2e429675bb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 24 Sep 2024 23:32:23 +0000 Subject: [PATCH 2/4] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/ansible.utils.ipaddr_filter.rst | 6 ++++++ 1 file changed, 6 insertions(+) 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 ---------- From 0281d47108521b1d57a020e29f080eb32d81bd1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Geeraerts?= <10222438+b-enoit-be@users.noreply.github.com> Date: Wed, 25 Sep 2024 01:57:38 +0200 Subject: [PATCH 3/4] Added changelog --- changelogs/fragments/ipaddr.yaml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 changelogs/fragments/ipaddr.yaml diff --git a/changelogs/fragments/ipaddr.yaml b/changelogs/fragments/ipaddr.yaml new file mode 100644 index 00000000..e801bde0 --- /dev/null +++ b/changelogs/fragments/ipaddr.yaml @@ -0,0 +1,3 @@ +--- +trivial: + - Added the requirements on netaddr in ansible.utils.ipaddr From 86908257e70746d65f36ed2f2a1e0f8f20e8b9bb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 24 Sep 2024 23:57:57 +0000 Subject: [PATCH 4/4] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- changelogs/fragments/ipaddr.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelogs/fragments/ipaddr.yaml b/changelogs/fragments/ipaddr.yaml index e801bde0..d52821ea 100644 --- a/changelogs/fragments/ipaddr.yaml +++ b/changelogs/fragments/ipaddr.yaml @@ -1,3 +1,3 @@ --- trivial: - - Added the requirements on netaddr in ansible.utils.ipaddr + - Added the requirements on netaddr in ansible.utils.ipaddr