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)
This commit is contained in:
parent
c54841fb3e
commit
6ef0c71523
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,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…
Reference in a new issue