From db646757c107cdbf11554a768f256d25bf69e603 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 --- lib/ansible/modules/files/template.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/ansible/modules/files/template.py b/lib/ansible/modules/files/template.py index 2feb599abdf..a1dc72c27bd 100644 --- a/lib/ansible/modules/files/template.py +++ b/lib/ansible/modules/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: []