mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add validate_certs to jira module (#34756)
The jira module uses ansible.module_utils.urls.fetch_url which will attempt to get that value of the validate_certs parameter from the module; if present it will honor it's value, otherwise it defaults to True. This patch adds that parameter to jira so that it can be specified by the user and honored by ansible.module_utils.urls.fetch_url Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
parent
85f300e02b
commit
d860e13ae1
1 changed files with 8 additions and 0 deletions
|
@ -118,6 +118,13 @@ options:
|
|||
- Set timeout, in seconds, on requests to JIRA API.
|
||||
default: 10
|
||||
|
||||
validate_certs:
|
||||
required: false
|
||||
version_added: 2.5
|
||||
description:
|
||||
- Require valid SSL certificates (set to `false` if you'd like to use self-signed certificates)
|
||||
default: true
|
||||
|
||||
notes:
|
||||
- "Currently this only works with basic-auth."
|
||||
|
||||
|
@ -391,6 +398,7 @@ def main():
|
|||
inwardissue=dict(),
|
||||
outwardissue=dict(),
|
||||
timeout=dict(type='float', default=10),
|
||||
validate_certs=dict(default=True, type='bool'),
|
||||
),
|
||||
supports_check_mode=False
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue