# Ansible Galaxy role versioning

**URL:** <https://forum.ansible.com/t/ansible-galaxy-role-versioning/16765>\
**Category:** Ansible Project\
**Tags:** galaxy-ng\
**Created:** [November 13, 2014, 6:17am UTC](https://forum.ansible.com/t/ansible-galaxy-role-versioning/16765 "2014-11-13T06:17:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![willthames](https://avatars.discourse-cdn.com/v4/letter/w/8dc957/32.png) [@willthames](https://forum.ansible.com/u/willthames)\
**Post date:** [November 13, 2014, 6:17am UTC](https://forum.ansible.com/t/ansible-galaxy-role-versioning/16765/1 "2014-11-13T06:17:54Z")

</div>

Is it possible to request a specific tag/version when installing a role from [galaxy.ansible.com](http://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

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [November 13, 2014, 1:16pm UTC](https://forum.ansible.com/t/ansible-galaxy-role-versioning/16765/2 "2014-11-13T13:16:06Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![willthames](https://avatars.discourse-cdn.com/v4/letter/w/8dc957/32.png) [@willthames](https://forum.ansible.com/u/willthames)\
**Post date:** [November 13, 2014, 9:19pm UTC](https://forum.ansible.com/t/ansible-galaxy-role-versioning/16765/3 "2014-11-13T21:19:37Z")

</div>

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.
