summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Martsul <vladimirmartsul@users.noreply.github.com>2015-06-26 01:40:58 +0600
committerVladimir Martsul <vladimirmartsul@users.noreply.github.com>2015-06-26 01:40:58 +0600
commit2206477b739f767215ae0dadf4dea6e5cf36168f (patch)
tree96f915a802e7aab33a454f2e0f553a26378445db
parent280ccfbb78e5e80c6f820ec371a848ff48fe9913 (diff)
downloadansible-modules-core-2206477b739f767215ae0dadf4dea6e5cf36168f.tar.gz
Add "force" description
Add "force" option description
-rw-r--r--files/template.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/files/template.py b/files/template.py
index 2feb599a..a1dc72c2 100644
--- a/files/template.py
+++ b/files/template.py
@@ -47,6 +47,14 @@ options:
required: false
default: ""
version_added: "1.2"
+ force:
+ description:
+ - the default is C(yes), which will replace the remote file when contents
+ are different than the source. If C(no), the file will only be transferred
+ if the destination does not exist.
+ required: false
+ choices: [ "yes", "no" ]
+ default: "yes"
notes:
- "Since Ansible version 0.9, templates are loaded with C(trim_blocks=True)."
requirements: []