Fantastic that let's me know what the issue is, you are coming across this 
https://github.com/ansible/ansible/pull/45942. Effectively running Python 
2.6 with ANSIBLE_KEEP_REMOTE_FILES is causing the issue. While the pull 
request I linked you solves the issue, you shouldn't be running 
ANSIBLE_KEEP_REMOTE_FILES at all. This mode is only meant to be used for 
debugging purposes and effectively means all the temp files and modules are 
not deleted once run which is bad and a lot slower than the default 
pipeling process.

I would guess you have an ansible.cfg that is being picked up when running 
your playbook that has 'keep_remote_files' set 
https://docs.ansible.com/ansible/latest/reference_appendices/config.html#default-keep-remote-files.
 
Remove this from the config and you should be go.

Thanks

Jordan

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/5dc70a51-7e70-44cf-8290-ab5280cc5567%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to