Hi there,
I’m trying to modify the assert module, but I am having some troubles.
The error says that the entry variables must be unicode, but encoding it still do not work.
I am trying to extend the “that” array with some values, the correct type of objects on the array are this:
`
[WARNING]: Failure using method (v2_runner_on_ok) in callback plugin
(<ansible.plugins.callback.default.CallbackModule object at 0x7fea57a73610>): <class
‘ansible.parsing.yaml.objects.AnsibleUnicode’> is not JSON serializable
`
And this is the native unicode:
`
[WARNING]: Failure using method (v2_runner_on_ok) in callback plugin
(<ansible.plugins.callback.default.CallbackModule object at 0x7f8dd9784610>): <type ‘unicode’> is not JSON
serializable
`
There is any way to encode a variable from string to AnsibleUnicode?
Thank in advance.
Best regards