From 6ef0c715233c7668ebd9d9d383dc2c9a95b0ab59 Mon Sep 17 00:00:00 2001 From: Tim Rupp Date: Mon, 1 Feb 2016 16:27:09 -0800 Subject: [PATCH] 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) --- lib/ansible/modules/extras/network/f5/bigip_virtual_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/network/f5/bigip_virtual_server.py b/lib/ansible/modules/extras/network/f5/bigip_virtual_server.py index a962693a2e..d9e2af3eb5 100644 --- a/lib/ansible/modules/extras/network/f5/bigip_virtual_server.py +++ b/lib/ansible/modules/extras/network/f5/bigip_virtual_server.py @@ -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':