1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Proper handling of lower case name for InternalLbVm Service Provider (#55087)

This commit is contained in:
Patryk D. Cichy 2019-04-10 13:50:08 +02:00 committed by ansibot
parent c411883618
commit 56c553c55d

View file

@ -460,7 +460,7 @@ def main():
for nsp_name in nsps_enabled:
if nsp_name.lower() in ['virtualrouter', 'vpcvirtualrouter']:
acs_network.set_vrouter_element_state(enabled=True, nsp_name=nsp_name)
elif nsp_name == 'internallbvm':
elif nsp_name.lower() == 'internallbvm':
acs_network.set_loadbalancer_element_state(enabled=True, nsp_name=nsp_name)
acs_network.update_nsp(name=nsp_name, state='Enabled')