From 112aa574f56469ab77d7faf9f637f9160aa49e26 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Wed, 15 Jul 2020 14:16:56 -0400 Subject: [PATCH] dont recommend copy content in template (#70658) * remove content ref in template fixes #63484 --- changelogs/fragments/remove_contradiction.yml | 2 ++ lib/ansible/modules/template.py | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 changelogs/fragments/remove_contradiction.yml diff --git a/changelogs/fragments/remove_contradiction.yml b/changelogs/fragments/remove_contradiction.yml new file mode 100644 index 00000000000..b6c26fdd374 --- /dev/null +++ b/changelogs/fragments/remove_contradiction.yml @@ -0,0 +1,2 @@ +bugfixes: + - remove contradictory recomendation from template docs. https://github.com/ansible/ansible/issues/63484 diff --git a/lib/ansible/modules/template.py b/lib/ansible/modules/template.py index e01a18bb93f..c874c50cae3 100644 --- a/lib/ansible/modules/template.py +++ b/lib/ansible/modules/template.py @@ -26,8 +26,6 @@ options: default: no version_added: '2.4' notes: -- You can use the M(copy) module with the C(content:) option if you prefer the template inline, - as part of the playbook. - For Windows you can use M(win_template) which uses '\\r\\n' as C(newline_sequence) by default. seealso: - module: copy