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)
reviewable/pr18780/r1
Tim Rupp 9 years ago
parent bec32094ae
commit 56a517b054

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

Loading…
Cancel
Save