From 2206477b739f767215ae0dadf4dea6e5cf36168f Mon Sep 17 00:00:00 2001 From: Vladimir Martsul Date: Fri, 26 Jun 2015 01:40:58 +0600 Subject: [PATCH] Add "force" description Add "force" option description --- files/template.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/files/template.py b/files/template.py index 2feb599abdf..a1dc72c27bd 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: []