# Getting latest version in \`.galaxy\_install\_info\`

**URL:** <https://forum.ansible.com/t/getting-latest-version-in-galaxy-install-info/26606>\
**Category:** Ansible Project\
**Created:** [January 30, 2018, 5:04pm UTC](https://forum.ansible.com/t/getting-latest-version-in-galaxy-install-info/26606 "2018-01-30T17:04:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjelinek](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@jjelinek](https://forum.ansible.com/u/jjelinek)\
**Post date:** [January 30, 2018, 5:04pm UTC](https://forum.ansible.com/t/getting-latest-version-in-galaxy-install-info/26606/1 "2018-01-30T17:04:41Z")

</div>

Hi,

If I have a requirements.yml like this:

```auto

---
- name: abc
src: git@github.com:my-super-repo/ansible-abc.git
scm: git

```

it will pull in the role and inside `meta/.galaxy_install_info` the contents will look like this:

```auto
{install_date: 'Tue Jan 30 16:59:06 2018', version: ''}

```

What I would like is to always pull in the latest git version in my `requirements.yml`, but I want to capture the version as the git sha instead of having it empty. Is there a good way to do this?
