diff --git a/releasenotes/notes/mgmt-default-gateway-3c87f21e0b331a2c.yaml b/releasenotes/notes/mgmt-default-gateway-3c87f21e0b331a2c.yaml new file mode 100644 index 00000000..0a8107d0 --- /dev/null +++ b/releasenotes/notes/mgmt-default-gateway-3c87f21e0b331a2c.yaml @@ -0,0 +1,7 @@ +--- +features: + - | + Now you can set up ``octavia_management_net_subnet_gateway`` variable to + create the management subnet with default gateway set. By default the + subnet created without gateway. + diff --git a/tasks/octavia_mgmt_network.yml b/tasks/octavia_mgmt_network.yml index 4c420c91..e8b26d1b 100644 --- a/tasks/octavia_mgmt_network.yml +++ b/tasks/octavia_mgmt_network.yml @@ -67,6 +67,7 @@ enable_dhcp: "{{ octavia_management_net_dhcp }}" allocation_pool_start: "{{ octavia_management_net_subnet_allocation_pools.split('-')[0] | default(omit) }}" allocation_pool_end: "{{ octavia_management_net_subnet_allocation_pools.split('-')[1] | default(omit) }}" + gateway_ip: "{{ octavia_management_net_subnet_gateway | default(omit) }}" interface: admin verify: "{{ not keystone_service_adminuri_insecure }}" register: add_subnet