add vlidate_certs option for unarchive module (#2635)
This commit is contained in:
parent
ca8bf6ab4c
commit
8c6af73218
1 changed files with 10 additions and 0 deletions
|
@ -79,6 +79,15 @@ options:
|
||||||
default:
|
default:
|
||||||
required: false
|
required: false
|
||||||
version_added: "2.1"
|
version_added: "2.1"
|
||||||
|
validate_certs:
|
||||||
|
description:
|
||||||
|
- This only applies if using a https url as the source of the file.
|
||||||
|
- This should only set to C(no) used on personally controlled sites using self-signed cer
|
||||||
|
- Prior to 2.2 the code worked as if this was set to C(yes).
|
||||||
|
required: false
|
||||||
|
default: "yes"
|
||||||
|
choices: ["yes", "no"]
|
||||||
|
version_added: "2.2"
|
||||||
author: "Dag Wieers (@dagwieers)"
|
author: "Dag Wieers (@dagwieers)"
|
||||||
todo:
|
todo:
|
||||||
- re-implement tar support using native tarfile module
|
- re-implement tar support using native tarfile module
|
||||||
|
@ -652,6 +661,7 @@ def main():
|
||||||
keep_newer = dict(required=False, default=False, type='bool'),
|
keep_newer = dict(required=False, default=False, type='bool'),
|
||||||
exclude = dict(requited=False, default=[], type='list'),
|
exclude = dict(requited=False, default=[], type='list'),
|
||||||
extra_opts = dict(required=False, default=[], type='list'),
|
extra_opts = dict(required=False, default=[], type='list'),
|
||||||
|
validate_certs = dict(required=False, default=True, type='bool'),
|
||||||
),
|
),
|
||||||
add_file_common_args = True,
|
add_file_common_args = True,
|
||||||
# supports_check_mode = True,
|
# supports_check_mode = True,
|
||||||
|
|
Loading…
Reference in a new issue