While using the Ansible modules get_url and unarchive I recently stumbled upon the following errors:
failed to create temporary content file: 'The read operation timed out' failed to create temporary content file: (-1, 'Unexpected EOF')
After some research it figured out that the urllib3 library (which is used by Ansible for HTTP downloads) was heavily outdated.
$ rpm -qa|grep -i urllib3 python-urllib3-1.10.2-5.el7.noarch
Version 1.25.3 was available on PyPi. Updating the library fixed the issue:
# pip install --upgrade urllib3