mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Update playbooks_filters_ipaddr.rst (#36883)
Fixed a typo since the example should be referencing the newly defined list.
This commit is contained in:
parent
809106ba77
commit
4a6758b74f
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ Here's an example set of two host prefixes (with some "control" values)::
|
||||||
First, let's make sure that we only work with correct host/prefix values, not
|
First, let's make sure that we only work with correct host/prefix values, not
|
||||||
just subnets or single IP addresses::
|
just subnets or single IP addresses::
|
||||||
|
|
||||||
# {{ test_list | ipaddr('host/prefix') }}
|
# {{ host_prefix | ipaddr('host/prefix') }}
|
||||||
['2001:db8:deaf:be11::ef3/64', '192.0.2.48/24']
|
['2001:db8:deaf:be11::ef3/64', '192.0.2.48/24']
|
||||||
|
|
||||||
In Debian-based systems, network configuration stored in ``/etc/network/interfaces`` file uses combination of IP address, network address, netmask and broadcast address to configure IPv4 network interface. We can get these values from a single 'host/prefix' combination:
|
In Debian-based systems, network configuration stored in ``/etc/network/interfaces`` file uses combination of IP address, network address, netmask and broadcast address to configure IPv4 network interface. We can get these values from a single 'host/prefix' combination:
|
||||||
|
|
Loading…
Reference in a new issue