summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Bocharsky <bocharsky.bw@gmail.com>2016-06-13 22:36:23 +0300
committerAdrian Likins <alikins@redhat.com>2016-06-13 15:36:23 -0400
commit3573223aebb985c1a034610b03e570e210881872 (patch)
tree996ccce4d06ec19fe34bb21c050768786a55012a
parent97ac3f2cc87d38e1179016351d3369efe51c8c13 (diff)
downloadansible-modules-core-3573223aebb985c1a034610b03e570e210881872.tar.gz
Add mode option to docstring for get_url (#3630)
Add mode option to the list
-rw-r--r--network/basics/get_url.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/network/basics/get_url.py b/network/basics/get_url.py
index 83e6b130..e9b54e8a 100644
--- a/network/basics/get_url.py
+++ b/network/basics/get_url.py
@@ -160,6 +160,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)"