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>pull/85126/head
parent
d33bedc48f
commit
4fe9606530
@ -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