Improve YAML examples - windows/win_template.py (#19408)

This commit is contained in:
Fabio Alessandro Locati 2016-12-16 00:04:49 +01:00 committed by Matt Davis
parent beb6ed08cd
commit b6f2565d60

View file

@ -60,13 +60,9 @@ notes:
author: "Jon Hawkesworth (@jhawkesworth)" author: "Jon Hawkesworth (@jhawkesworth)"
''' '''
EXAMPLES = ''' EXAMPLES = r'''
# Playbook Example - name: Create a file from a Jinja2 template
- win_template: win_template:
src: /mytemplates/file.conf.j2 src: /mytemplates/file.conf.j2
dest: C:\temp\file.conf dest: C:\temp\file.conf
# Ad-hoc Example
ansible winhost -m win_template -a "src=/mytemplates/file.conf.j2 dest=c:/temp/file.conf"
''' '''