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

Update bigip_api method to use variable name server

This commit is contained in:
Michael Perzel 2015-07-04 07:51:19 -05:00 committed by Matt Clay
parent 6681a5b386
commit 21425f36ef

View file

@ -80,8 +80,8 @@ except ImportError:
else: else:
bigsuds_found = True bigsuds_found = True
def bigip_api(bigip, user, password): def bigip_api(server, user, password):
api = bigsuds.BIGIP(hostname=bigip, username=user, password=password) api = bigsuds.BIGIP(hostname=server, username=user, password=password)
return api return api
def get_wide_ip_lb_method(api, wide_ip): def get_wide_ip_lb_method(api, wide_ip):