mirror of https://github.com/ansible/ansible.git
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 #3563pull/18777/head
parent
6a3969ca6b
commit
c22e383836
Loading…
Reference in New Issue