[ERROR]: failed to download the file: HTTP Error 404: Not Found (when file does exist)
pessimo opened this issue · 1 comments
pessimo commented
after execute
ansible-galaxy install -r requirements.yml
the command fail with error
Starting galaxy role install process
- downloading role 'osx-command-line-tools', owned by elliotweiser
- downloading role from https://github.com/elliotweiser/ansible-osx-command-line-tools/archive/master.tar.gz
[ERROR]: failed to download the file: HTTP Error 404: Not Found
[WARNING]: - elliotweiser.osx-command-line-tools was NOT installed successfully.
ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.
while I can actually get file with the browser via https://github.com/elliotweiser/ansible-osx-command-line-tools/archive/master.tar.gz
pessimo commented
I end up changing requirements.yml to
roles:
- name: elliotweiser.osx-command-line-tools
src: https://github.com/elliotweiser/ansible-osx-command-line-tools
- name: geerlingguy.dotfiles
src: https://github.com/geerlingguy/ansible-role-dot
and the download proceeds successfully