From 6842746a9db576ae9e60433169def4d94e27f1d0 Mon Sep 17 00:00:00 2001 From: Akira Yokochi Date: Thu, 4 Jan 2024 18:27:55 +0900 Subject: [PATCH] docs: Fixed ipv6form filter document (#320) * fix ipv6form doc * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add changelog fragment * rename --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ashwini Mhatre --- changelogs/fragments/ipv6form-doc.yaml | 3 +++ docs/ansible.utils.ipv6form_filter.rst | 5 +++++ plugins/filter/ipv6form.py | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/ipv6form-doc.yaml diff --git a/changelogs/fragments/ipv6form-doc.yaml b/changelogs/fragments/ipv6form-doc.yaml new file mode 100644 index 00000000..ca660547 --- /dev/null +++ b/changelogs/fragments/ipv6form-doc.yaml @@ -0,0 +1,3 @@ +--- +doc_changes: + - ipv6form filter plugin - Fix to be displayed correctly. diff --git a/docs/ansible.utils.ipv6form_filter.rst b/docs/ansible.utils.ipv6form_filter.rst index 824f3188..6ac965d6 100644 --- a/docs/ansible.utils.ipv6form_filter.rst +++ b/docs/ansible.utils.ipv6form_filter.rst @@ -44,6 +44,11 @@ Parameters + diff --git a/plugins/filter/ipv6form.py b/plugins/filter/ipv6form.py index 83c19e51..3d5c86ed 100644 --- a/plugins/filter/ipv6form.py +++ b/plugins/filter/ipv6form.py @@ -61,7 +61,7 @@ class mac_linux(netaddr.mac_unix): required: True format: type: str - choice: + choices: ['compress', 'expand', 'x509'] description: Different formats example. compress, expand, x509 """