From ea105dcb2fa3dcb150c23f08fc33791600c2c715 Mon Sep 17 00:00:00 2001 From: unixsysadmin <36594929+unixsysadmin@users.noreply.github.com> Date: Mon, 3 Feb 2020 17:28:55 +0000 Subject: [PATCH] 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' --- lib/ansible/modules/files/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/files/template.py b/lib/ansible/modules/files/template.py index 1aec5226b8f..c24deb72af4 100644 --- a/lib/ansible/modules/files/template.py +++ b/lib/ansible/modules/files/template.py @@ -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