mirror of https://github.com/ansible/ansible.git
native types: literal_eval all the things (#68938)
With https://github.com/pallets/jinja/pull/1190 merged our short-circuit is no longer valid (has it ever been?) as now data like ' True ' may go through our ansible_native_concat function as opposed to going through intermediate call to Jinja2's native_concat before. Now we need to always send data through literal_eval to ensure native types are returned.pull/69006/head
parent
3591451bc7
commit
acdc9eb76d
@ -1,8 +0,0 @@
|
||||
from ansible.module_utils._text import to_text
|
||||
|
||||
|
||||
class FilterModule(object):
|
||||
def filters(self):
|
||||
return {
|
||||
'to_text': to_text,
|
||||
}
|
Loading…
Reference in New Issue