opdavies / ansible-role-mantisbt

Ansible Role - Mantis bug tracker
https://galaxy.ansible.com/detail#/role/6307
MIT License
1 stars 2 forks source link

Retrieval from SourceForge not working. #6

Open yeroc opened 8 years ago

yeroc commented 8 years ago

Retrievals from SourceForge are failing:

TASK: [mantisbt | Download Mantis.] ******************************************* 
failed: [cal-bugs-dev-local] => {"dest": "/tmp/mantis-1.2.19.tar.gz", "failed": true, "response": "Request failed: <urlopen error timed out>", "state": "absent", "status_code": -1, "url": "http://sourceforge.net/projects/mantisbt/files/mantis-stable/1.2.19/mantisbt-1.2.19.tar.gz/download"}
msg: Request failed

FATAL: all hosts have already failed -- aborting

It looks like the URL being used goes to the usual SourceForge html download page rather than directly downloading the file.

yeroc commented 8 years ago

I changed the base URL to https://downloads.sourceforge.net/project/mantisbt/mantis-stable/ and that seems to resolve the issue.