I have a requirements.yaml file that refers to git repo in Azure Dev Ops.
It is a private repo and I have verified the roles defined there are valid.
The requirement file looks like following:
- src: usershaurav@vs-ssh.visualstudio.com:v3/shaurav/Core/Core-Ansible-TestRole
scm: git
version: latest
name: testrole
When I run the template that uses this role it breaks and asks me to go see stdout.
The problem I understand is it cannot find the personal access token to access the git repo.
I tried to pass personal access token to the template as:
GALAXY_TOKEN
ANSIBLE_GALAXY_TOKEN
GALAXY_TOKEN
None of which worked. The documentation of tower says try using secure way like pat or SSH. I have both but I don’t know what variable to pass it as or how. And the documentation does not specify it anywhere.
This seems to be a very common scenario. Have any of you encountered this. Will appreciate any insight. Thank you.