community.general/lib/ansible/modules/network/basics
Dag Wieers c22e383836 Ensure proper error when fetch_url returns status -1
When using a file:// or ftp:// URL the normal provisions that a non-200 status code means error have been disabled.
But the common error status -1 from fetch_url is not properly returning an error message.
This fix ensures that if the status code returns -1, we return a proper error message.

This fixes #3563
2016-12-08 11:25:32 -05:00
..
__init__.py Renames. 2016-12-08 11:22:25 -05:00
get_url.py Ensure proper error when fetch_url returns status -1 2016-12-08 11:25:32 -05:00
slurp.py made note about slurp memory consumption 2016-12-08 11:24:27 -05:00
uri.py Examples syntax batch6 (#5623) 2016-12-08 11:25:31 -05:00