From 67c2d7a3586782e71c7d02c655d7314150c19011 Mon Sep 17 00:00:00 2001 From: Will Szumski Date: Fri, 15 Aug 2025 12:54:47 +0100 Subject: [PATCH] Support allocation_pools parameter on subnets This allows you to define multiple allocation pools, which is useful if you have non-contiguous blocks of IP addresses. --- roles/os_networks/tasks/networks.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/os_networks/tasks/networks.yml b/roles/os_networks/tasks/networks.yml index 45f0508..3953c00 100644 --- a/roles/os_networks/tasks/networks.yml +++ b/roles/os_networks/tasks/networks.yml @@ -51,6 +51,7 @@ default(item.1.gateway_ip | default | ternary(omit, True)) }} allocation_pool_start: "{{ item.1.allocation_pool_start | default(omit) }}" allocation_pool_end: "{{ item.1.allocation_pool_end | default(omit) }}" + allocation_pools: "{{ item.1.allocation_pools | default(omit) }}" host_routes: "{{ item.1.host_routes | default(omit) }}" ip_version: "{{ item.1.ip_version | default(omit) }}" ipv6_address_mode: "{{ item.1.ipv6_address_mode | default(omit) }}"