From a85261342acf2e9a0d7e9dc792ef1edadf32e4b2 Mon Sep 17 00:00:00 2001 From: Martin Krizek Date: Thu, 7 Apr 2022 19:43:15 +0200 Subject: [PATCH] template module: document jinja2_native behavior (#77445) --- lib/ansible/modules/template.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ansible/modules/template.py b/lib/ansible/modules/template.py index 4924bca1f17..29ddb136553 100644 --- a/lib/ansible/modules/template.py +++ b/lib/ansible/modules/template.py @@ -26,6 +26,8 @@ options: version_added: '2.4' notes: - For Windows you can use M(ansible.windows.win_template) which uses '\\r\\n' as C(newline_sequence) by default. +- The C(jinja2_native) setting has no effect. Native types are never used in the C(template) module which is by design used for generating text files. + For working with templates and utilizing Jinja2 native types see the C(jinja2_native) parameter of the C(template lookup). seealso: - module: ansible.builtin.copy - module: ansible.windows.win_copy