Fix IPs for ipaddr filter in user_guide (#77151)

* Fix IPs for ipaddr filter in user_guide

* Apply suggestions from code review

Co-authored-by: Sandra McCann <samccann@redhat.com>
pull/77163/head
Martin Nečas 2 years ago committed by GitHub
parent 28a278ee48
commit 0d4219f265
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1266,7 +1266,7 @@ address. For example, to get the IP address itself from a CIDR, you can use:
.. code-block:: yaml+jinja
{{ '192.0.2.1/24' | ansible.netcommon.ipaddr('address') }}
# => 192.168.0.1
# => 192.0.2.1
More information about ``ipaddr`` filter and complete usage guide can be found
in :ref:`playbooks_filters_ipaddr`.

Loading…
Cancel
Save