mirror of https://github.com/ansible/ansible.git
template module - render `None` as empty string (#85121)
* template module - render `None` as empty string
* Update changelogs/fragments/template-none.yml
Co-authored-by: Matt Davis <6775756+nitzmahone@users.noreply.github.com>
---------
Co-authored-by: Matt Davis <6775756+nitzmahone@users.noreply.github.com>
(cherry picked from commit 4fe9606530)
pull/85133/head
parent
9fff6d433d
commit
23f935eb0d
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- template action - Template files where the entire file's output renders as ``None`` are no longer emitted as the string "None", but instead render to an empty file as in previous releases.
|
||||
@ -0,0 +1 @@
|
||||
{# a template with no content will render as `None` #}
|
||||
@ -0,0 +1 @@
|
||||
{# a template with no content will render as `None` #}
|
||||
Loading…
Reference in New Issue