mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-18 16:29:08 +07:00
fix(metal): fix deprecated ipaddr and ipsubnet
This commit is contained in:
parent
ce5595bd5d
commit
2aa84b7b56
@ -4,6 +4,6 @@ metallb_subnet_index: -1 # last subnet
|
||||
metallb_addresses: | # Use the last subnet with the specified size from the network
|
||||
{{
|
||||
(ansible_default_ipv4.network + '/' + ansible_default_ipv4.netmask)
|
||||
| ansible.netcommon.ipaddr('net')
|
||||
| ansible.netcommon.ipsubnet(metallb_subnet_cidr_prefix, metallb_subnet_index)
|
||||
| ansible.utils.ipaddr('net')
|
||||
| ansible.utils.ipsubnet(metallb_subnet_cidr_prefix, metallb_subnet_index)
|
||||
}}
|
||||
|
Loading…
Reference in New Issue
Block a user