From 6037684d23f05197fd5ed81208a79987146b1d92 Mon Sep 17 00:00:00 2001 From: Victor Bocharsky Date: Mon, 13 Jun 2016 22:36:23 +0300 Subject: [PATCH] Add mode option to docstring for get_url (#3630) Add mode option to the list --- lib/ansible/modules/network/basics/get_url.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/ansible/modules/network/basics/get_url.py b/lib/ansible/modules/network/basics/get_url.py index d79b24dc0a..3ea571d9cd 100644 --- a/lib/ansible/modules/network/basics/get_url.py +++ b/lib/ansible/modules/network/basics/get_url.py @@ -159,6 +159,13 @@ options: description: - all arguments accepted by the M(file) module also work here required: false + mode: + description: + - mode the destination file should be. For those used to /usr/bin/chmod remember that modes are actually + octal numbers (like 0644). Leaving off the leading zero will likely have unexpected results. + As of version 1.8, the mode may be specified as a symbolic mode (for example, C(u+rwx) or C(u=rw,g=r,o=r)). + required: false + version_added: '2.2' # informational: requirements for nodes requirements: [ ] author: "Jan-Piet Mens (@jpmens)"