mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Update f5 validate_certs functionality to do the right thing on multiple python versions
This requires the implementation in the module_utils code here https://github.com/ansible/ansible/pull/13667 to funciton
This commit is contained in:
committed by
Matt Clay
parent
d2db491098
commit
6a02b17a2e
@@ -57,7 +57,8 @@ options:
|
||||
validate_certs:
|
||||
description:
|
||||
- If C(no), SSL certificates will not be validated. This should only be used
|
||||
on personally controlled sites using self-signed certificates.
|
||||
on personally controlled sites. Prior to 2.0, this module would always
|
||||
validate on python >= 2.7.9 and never validate on python <= 2.7.8
|
||||
required: false
|
||||
default: 'yes'
|
||||
choices: ['yes', 'no']
|
||||
@@ -290,7 +291,7 @@ def main():
|
||||
module.fail_json(msg="host parameter invalid when state=absent")
|
||||
|
||||
try:
|
||||
api = bigip_api(server, user, password)
|
||||
api = bigip_api(server, user, password, validate_certs)
|
||||
result = {'changed': False} # default
|
||||
|
||||
if state == 'absent':
|
||||
|
||||
Reference in New Issue
Block a user