How to get the SHA of the checked out code with ansible git module?

Viewed 6573

I would like to store the currently checked out commit SHA-1 hash for the version of code with Ansible.

I want to set_fact of this version for use in another role.

1 Answers
Related