Implement better IP address/network notation.
This commit is contained in:
parent
3670bf6597
commit
2ff1354fe3
8 changed files with 9 additions and 10 deletions
|
@ -15,7 +15,7 @@
|
|||
if_lan: "{{ ansible_interfaces | difference([if_wan, 'lo']) | first }}"
|
||||
|
||||
## LAN IP address range:
|
||||
ipaddr_lan: 192.168.0.10
|
||||
ipaddr_lan: 192.168.0.10/24
|
||||
dhcp_range: 192.168.0.50,192.168.0.150,2h
|
||||
dhcp_list: "{{ lookup('sequence', 'start=50 end=150 format=192.168.0.%d', wantlist=True) }}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue