1

I'm using a source controlled project in Ansible Tower that plugs into github/azure devops.

I'm looking for (but can't find) a variable that represents the commit ID/SHA hash of the playbook.yml im running, so I can log it to a built VM im building with it and go back and audit it later.

Medos
  • 305
  • 1
  • 3
  • 9

1 Answers1

-2

$(Build.SourceVersion) will have the commit ID. Docs

Eric Smith
  • 2,340
  • 12
  • 16