Update template.py (#67010)
Update the example so that the task name matches the filename being updated The first example shows how you might template a file to destination /etc/file.conf. The description of this task appears to have a typo as it refers to '/etc/files.conf' rather than '/etc/file.conf'
This commit is contained in:
parent
87a5e433ef
commit
ea105dcb2f
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ extends_documentation_fragment:
|
|||
'''
|
||||
|
||||
EXAMPLES = r'''
|
||||
- name: Template a file to /etc/files.conf
|
||||
- name: Template a file to /etc/file.conf
|
||||
template:
|
||||
src: /mytemplates/foo.j2
|
||||
dest: /etc/file.conf
|
||||
|
|
Loading…
Reference in a new issue