Update playbooks_filters_ipaddr.rst (#72464)
Fix small code formatting issue - remove extra `:` before code-block.
This commit is contained in:
parent
1eae2bb890
commit
1a5d2938c6
1 changed files with 1 additions and 2 deletions
|
@ -292,7 +292,7 @@ on an interface:
|
||||||
iface eth0 inet6 static
|
iface eth0 inet6 static
|
||||||
address 2001:db8:deaf:be11::ef3/64
|
address 2001:db8:deaf:be11::ef3/64
|
||||||
|
|
||||||
If needed, you can extract subnet and prefix information from the 'host/prefix' value::
|
If needed, you can extract subnet and prefix information from the 'host/prefix' value:
|
||||||
|
|
||||||
.. code-block:: jinja
|
.. code-block:: jinja
|
||||||
|
|
||||||
|
@ -302,7 +302,6 @@ If needed, you can extract subnet and prefix information from the 'host/prefix'
|
||||||
# {{ host_prefix | ansible.netcommon.ipaddr('host/prefix') | ansible.netcommon.ipaddr('prefix') }}
|
# {{ host_prefix | ansible.netcommon.ipaddr('host/prefix') | ansible.netcommon.ipaddr('prefix') }}
|
||||||
[64, 24]
|
[64, 24]
|
||||||
|
|
||||||
|
|
||||||
Converting subnet masks to CIDR notation
|
Converting subnet masks to CIDR notation
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue