mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 15:34:01 -07:00
Adds basic authentication & skip certificate validation to win_get_url module
This commit is contained in:
parent
1ee2ddcbf4
commit
a886690309
2 changed files with 33 additions and 1 deletions
|
@ -28,6 +28,7 @@ version_added: "1.7"
|
|||
short_description: Fetches a file from a given URL
|
||||
description:
|
||||
- Fetches a file from a URL and saves to locally
|
||||
author: "Paul Durivage (@angstwad)"
|
||||
options:
|
||||
url:
|
||||
description:
|
||||
|
@ -49,7 +50,21 @@ options:
|
|||
required: false
|
||||
choices: [ "yes", "no" ]
|
||||
default: yes
|
||||
author: "Paul Durivage (@angstwad)"
|
||||
username:
|
||||
description:
|
||||
- Basic authentication username
|
||||
required: false
|
||||
default: null
|
||||
password:
|
||||
description:
|
||||
- Basic authentication password
|
||||
required: false
|
||||
default: null
|
||||
skip_certificate_validation:
|
||||
description:
|
||||
- Skip SSL certificate validation if true
|
||||
required: false
|
||||
default: false
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue