Improve YAML examples - windows/win_template.py (#19408)
This commit is contained in:
parent
beb6ed08cd
commit
b6f2565d60
1 changed files with 3 additions and 7 deletions
|
@ -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"
|
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in a new issue