From 9e6b6385e88552cd0bf91f13f1c3f90b0e9e917c Mon Sep 17 00:00:00 2001 From: b-abadie <1434660+b-abadie@users.noreply.github.com> Date: Wed, 27 Mar 2019 20:18:01 +0100 Subject: [PATCH] Fix example on address | ipsubnet(20) usage (#54388) `192.168.128.0/20` does not contain `192.168.144.5`, the correct subnet is `192.168.144.0/20` (which is what is rendered on my test template). +label: docsite_pr --- docs/docsite/rst/user_guide/playbooks_filters_ipaddr.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docsite/rst/user_guide/playbooks_filters_ipaddr.rst b/docs/docsite/rst/user_guide/playbooks_filters_ipaddr.rst index e24a6a8d009..1560fcc556a 100644 --- a/docs/docsite/rst/user_guide/playbooks_filters_ipaddr.rst +++ b/docs/docsite/rst/user_guide/playbooks_filters_ipaddr.rst @@ -479,7 +479,7 @@ the first argument, the ``ipsubnet()`` filter will instead return the biggest su contains that given IP address:: # {{ address | ipsubnet(20) }} - 192.168.128.0/20 + 192.168.144.0/20 By specifying an index number as a second argument, you can select smaller and smaller subnets::