Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ansible-galaxy vendor roles installation failure - not found #181

Closed
iamra opened this issue Apr 13, 2015 · 3 comments
Closed

Ansible-galaxy vendor roles installation failure - not found #181

iamra opened this issue Apr 13, 2015 · 3 comments

Comments

@iamra
Copy link

iamra commented Apr 13, 2015

When attempting to install the ansible galaxy I get the following output

ansible-galaxy install -r requirements.yml -p vendor/roles

 downloading role 'project_deploy_module', owned by -%20src%3A%20f500
Sorry, - src: f500.project_deploy_module was not found on galaxy.ansible.com.
 downloading role '-%20name%3A%20ntp', owned by 
Sorry, - name: ntp was not found on galaxy.ansible.com.
 downloading role 'ntp', owned by src%3A%20resmo
Sorry, src: resmo.ntp was not found on galaxy.ansible.com.
 downloading role '-%20name%3A%20logrotate', owned by 
Sorry, - name: logrotate was not found on galaxy.ansible.com.
 downloading role 'logrotate', owned by src%3A%20nickhammond
Sorry, src: nickhammond.logrotate was not found on galaxy.ansible.com.
 downloading role '-%20name%3A%20php5-xdebug', owned by 
Sorry, - name: php5-xdebug was not found on galaxy.ansible.com.
 downloading role 'php5-xdebug', owned by src%3A%20MaximeThoonsen
Sorry, src: MaximeThoonsen.php5-xdebug was not found on galaxy.ansible.com.'

However, I am able to install the roles manually through:

ansible-galaxy install f500.project_deploy_module -p vendor/roles

ansible-galaxy install resmo.ntp -p vendor/roles
ansible-galaxy install nickhammond.logrotate -p vendor/roles
ansible-galaxy install MaximeThoonsen.php5-xdebug -p vendor/roles

I went in and manually renamed the folders to what is specified in the requirements.yml

Not sure what is causing this. But I believe I am able to run without it now.

@swalkinshaw
Copy link
Member

Judging from the errors it seems like your Ansible doesn't like the requirements.yml format which leads me to believe it's an issue with your Ansible version.

What version are you running? We require at least 1.8 now.

@iamra
Copy link
Author

iamra commented Apr 13, 2015

Scott, spot on, sorry I missed this, as I thought my installation was pulling from the ansible ppa, looks like it was not and instead I am installed off the OS repo (v1.7.2). Thanks for your time brother. And thank you for creating such a wonderful software!

@mohsinr
Copy link

mohsinr commented Mar 28, 2016

Wow @swalkinshaw thank you for hinting about version. I installed on Ubuntu 14.04 and default version they installed was outdated.

I upgraded the Ansible version and those errors go away. Thank you!

PS. For anyone facing same issue I added following repo for latest version:
sudo apt-add-repository ppa:ansible/ansible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants