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'
pull/67055/head
unixsysadmin 4 years ago committed by GitHub
parent 87a5e433ef
commit ea105dcb2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save