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

ERROR! 'version' is not a valid attribute for a RoleMetadata #9

Closed
David-Gil opened this issue Jul 28, 2016 · 3 comments · May be fixed by David-Gil/ansible-rvm#2
Closed

ERROR! 'version' is not a valid attribute for a RoleMetadata #9

David-Gil opened this issue Jul 28, 2016 · 3 comments · May be fixed by David-Gil/ansible-rvm#2

Comments

@David-Gil
Copy link

When using this role Ansible outputs this message:


ERROR! 'version' is not a valid attribute for a RoleMetadata

The error appears to have been in '/etc/ansible/roles/altermn.rvm/meta/main.yml': line 2, column 1, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


galaxy_info:

^ here

After removing the version line in the metadata file the role works ok.

I have looked up other roles and none of them have the version line.

Ansible version (development):
ansible-playbook 2.2.0 (devel aece03312f) last updated 2016/07/27 13:10:48 (GMT +200)
lib/ansible/modules/core: (detached HEAD 24db4de245) last updated 2016/07/26 15:42:03 (GMT +200)
lib/ansible/modules/extras: (detached HEAD db979dde74) last updated 2016/07/26 15:42:04 (GMT +200)
config file = /home/david/devel/ansible/playbooks/ansible.cfg
configured module search path = Default w/o overrides

@newmen
Copy link
Owner

newmen commented Sep 8, 2016

Hi @David-Gil
Thanks for your feedback. Can you please send your pull request to master branch of my repository?
And one more question... Why you does not use the official role from RVM team? This role is located here: https://github.com/rvm/rvm1-ansible

@nfedyashev
Copy link
Contributor

@newmen
@David-Gil
this PR fixes it

@newmen
Copy link
Owner

newmen commented Nov 20, 2016

Thanks @nfedyashev

@newmen newmen closed this as completed Nov 20, 2016
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

Successfully merging a pull request may close this issue.

3 participants