mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-27 12:51:25 -07:00
get_url: Updates documentation for proper use of headers (#47242)
* Fixes the example for headers in documentation * remove whitespace * missed a whitespace
This commit is contained in:
parent
0fc639e755
commit
3b5471a734
1 changed files with 3 additions and 1 deletions
|
@ -180,7 +180,9 @@ EXAMPLES = r'''
|
||||||
get_url:
|
get_url:
|
||||||
url: http://example.com/path/file.conf
|
url: http://example.com/path/file.conf
|
||||||
dest: /etc/foo.conf
|
dest: /etc/foo.conf
|
||||||
headers: 'key:value,key:value'
|
headers:
|
||||||
|
key1: one
|
||||||
|
key2: two
|
||||||
|
|
||||||
- name: Download file with check (sha256)
|
- name: Download file with check (sha256)
|
||||||
get_url:
|
get_url:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue