From 4a0a9cd1fccb2be29850941554db2c10f221f1c7 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 --- windows/win_template.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/windows/win_template.py b/windows/win_template.py index 9883ee872ab..c3a511cad48 100644 --- a/windows/win_template.py +++ b/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" '''