Ansible Galaxy role versioning

60 views
Skip to first unread message

Will Thames

unread,
Nov 13, 2014, 1:17:54 AM11/13/14
to ansible...@googlegroups.com
Is it possible to request a specific tag/version when installing a role from galaxy.ansible.com?

Obviously there is a workaround of pointing at the github repo and choosing a commit id, but I was curious whether the concept of versioning galaxy roles exists?

Perhaps there's not much call for it - perhaps roles in galaxy never change, or those changes are always backwards-compatible.

Will

Brian Coca

unread,
Nov 13, 2014, 8:16:09 AM11/13/14
to ansible...@googlegroups.com
from the man page:

"ansible-galaxy install [options] [-r FILE | role_name(s)[,version] | tar_file(s)]"

if version is omitted the latest one is used.


--
Brian Coca

Will Thames

unread,
Nov 13, 2014, 4:19:44 PM11/13/14
to ansible...@googlegroups.com

I was trying to do it using the -r spec file. But I'll have another look next week. I thought it was galaxy that needed to understand versions but perhaps it just uses the underlying repo versions.

--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/7zRQsH04rm4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAJ5XC8nGSVK0WKRD1%3D1fXG7XPV%3D4wsuSbFU0f3oOPhhDLm-Ggg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages