Skip to content

Commit 67c2d7a

Browse files
committed
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.
1 parent a556b4f commit 67c2d7a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

roles/os_networks/tasks/networks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
default(item.1.gateway_ip | default | ternary(omit, True)) }}
5252
allocation_pool_start: "{{ item.1.allocation_pool_start | default(omit) }}"
5353
allocation_pool_end: "{{ item.1.allocation_pool_end | default(omit) }}"
54+
allocation_pools: "{{ item.1.allocation_pools | default(omit) }}"
5455
host_routes: "{{ item.1.host_routes | default(omit) }}"
5556
ip_version: "{{ item.1.ip_version | default(omit) }}"
5657
ipv6_address_mode: "{{ item.1.ipv6_address_mode | default(omit) }}"

0 commit comments

Comments
 (0)