Hi
I'm seeing some weird behaviour trying to use selectattr() on a list
of dicts, when the attribute name I am using is the literal string
'update'.
Anything else works fine.
Example playbook:
Hi
I'm seeing some weird behaviour trying to use selectattr() on a list
of dicts, when the attribute name I am using is the literal string
'update'.
Anything else works fine.
Example playbook:
I think this is because 'update' is a reserved word:
I'm seeing the same behavior with 'pop' for instance (though not with
many others).
Dick
I would consider this a bug, since returning data when query REST API could be anything and Ansible need to handle that.