From 3b5471a7348d16bff24aa376285b5d1cbbd88ec9 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] get_url: Updates documentation for proper use of headers (#47242) * Fixes the example for headers in documentation * remove whitespace * missed a whitespace --- 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 3e5a7d47c2..62f1844af4 100644 --- a/lib/ansible/modules/net_tools/basics/get_url.py +++ b/lib/ansible/modules/net_tools/basics/get_url.py @@ -180,7 +180,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: