From b51a1e175eb5a7f0005df178796d9b03e752fc8a Mon Sep 17 00:00:00 2001 From: nitzmahone Date: Tue, 5 Jul 2016 15:49:13 -0700 Subject: [PATCH] minor win_template doc corrections --- lib/ansible/modules/windows/win_template.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/windows/win_template.py b/lib/ansible/modules/windows/win_template.py index 9883ee872a..c3a511cad4 100644 --- a/lib/ansible/modules/windows/win_template.py +++ b/lib/ansible/modules/windows/win_template.py @@ -57,8 +57,12 @@ author: "Jon Hawkesworth (@jhawkesworth)" ''' EXAMPLES = ''' -# Playbook Example (win_template can only be run inside a playbook) -- win_template: src=/mytemplates/file.conf.j2 dest=C:\\temp\\file.conf +# Playbook Example +- win_template: + src: /mytemplates/file.conf.j2 + dest: C:\temp\file.conf +# Ad-hoc Example +ansible winhost -m win_template -a "src=/mytemplates/file.conf.j2 dest=c:/temp/file.conf" '''