Disable Octavia management gateway on update
A previous commit [0] disables the gateway of the lb-mgmt-subnet when
the subnet is created, but the playbook should also disable the gateway
if the subnet already exists (on update for instance).
[0] I1d007e59f95de815bd465d8d452d8270434f8090
Change-Id: I0c2377ad14ec244069bc022a64b64c3e39b07779
(cherry picked from commit ebaeef728d
)
This commit is contained in:
parent
1fbbf40615
commit
c68f48ebf8
|
@ -26,6 +26,8 @@
|
|||
--gateway none \
|
||||
--network {{ lb_mgmt_net_id }} \
|
||||
--subnet-range {{ lb_mgmt_subnet_cidr }}
|
||||
else
|
||||
openstack subnet set --gateway none {{ lb_mgmt_subnet_name }}
|
||||
fi
|
||||
register: lb_mgmt_subnet_result
|
||||
changed_when: (lb_mgmt_subnet_result.stdout | length) > 0
|
||||
|
|
Loading…
Reference in New Issue