From ee45520e05c2b9d9153c34081294ac9e49fd476d Mon Sep 17 00:00:00 2001 From: Nate Borener <33846287+borener@users.noreply.github.com> Date: Thu, 18 Oct 2018 09:47:27 -0500 Subject: [PATCH] [stable-2.7] get_url: Updates documentation for proper use of headers (#47242) * Fixes the example for headers in documentation * remove whitespace * missed a whitespace (cherry picked from commit 3b5471a) Co-authored-by: Nate Borener <33846287+borener@users.noreply.github.com> --- lib/ansible/modules/net_tools/basics/get_url.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/net_tools/basics/get_url.py b/lib/ansible/modules/net_tools/basics/get_url.py index 53c79536a4..12940f26d9 100644 --- a/lib/ansible/modules/net_tools/basics/get_url.py +++ b/lib/ansible/modules/net_tools/basics/get_url.py @@ -179,7 +179,9 @@ EXAMPLES = r''' get_url: url: http://example.com/path/file.conf dest: /etc/foo.conf - headers: 'key:value,key:value' + headers: + key1: one + key2: two - name: Download file with check (sha256) get_url: