mirror of https://github.com/ansible/ansible.git
When using ANSIBLE_JINJA2_NATIVE bypass our None filtering in _finalze (#41408)
* When using ANSIBLE_JINJA2_NATIVE bypass our None filtering in _finalize. Fixes #41392 * Add tests for _finalize bypass * Address python3 failures in testspull/41492/head
parent
46ae1a343a
commit
ad0827e5c0
@ -0,0 +1,11 @@
|
||||
- name: test none
|
||||
set_fact:
|
||||
none_var: "{{ yaml_none }}"
|
||||
none_var_direct: "{{ None }}"
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- 'none_var is sameas none'
|
||||
- 'none_var|type_debug == "NoneType"'
|
||||
- 'none_var_direct is sameas none'
|
||||
- 'none_var_direct|type_debug == "NoneType"'
|
Loading…
Reference in New Issue