summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunixsysadmin <36594929+unixsysadmin@users.noreply.github.com>2020-02-03 17:28:55 +0000
committerGitHub <noreply@github.com>2020-02-03 12:28:55 -0500
commitea105dcb2fa3dcb150c23f08fc33791600c2c715 (patch)
tree3dd8ad8adee7722ccf2f611ffd3311e817ed19a8
parent87a5e433efe8f062c30a91a26d464f93211418bf (diff)
downloadansible-ea105dcb2fa3dcb150c23f08fc33791600c2c715.tar.gz
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'
-rw-r--r--lib/ansible/modules/files/template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/modules/files/template.py b/lib/ansible/modules/files/template.py
index 1aec5226b8..c24deb72af 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