metallb_namespace: metallb-system metallb_subnet_cidr_prefix: 27 # /27 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) }}