Fixes missing validate_certs parameter

The bigip_api method was changed in the module_utils function definition
to include the validate_certs option but the bigip_virtual_server module
was not updated accordingly. This patch updates the method so that the
error message below is not returned to the user

received exception: bigip_api() takes exactly 4 arguments (3 given)
pull/18777/head
Tim Rupp 9 years ago committed by Matt Clay
parent c54841fb3e
commit 6ef0c71523

@ -406,7 +406,7 @@ def main():
module.fail_json(msg="valid ports must be in range 1 - 65535")
try:
api = bigip_api(server, user, password)
api = bigip_api(server, user, password, validate_certs)
result = {'changed': False} # default
if state == 'absent':

Loading…
Cancel
Save