# AWS cannot pull roles defined in requirements.yaml file.

**URL:** <https://forum.ansible.com/t/aws-cannot-pull-roles-defined-in-requirements-yaml-file/34312>\
**Category:** AWX Project\
**Tags:** azure, aws\
**Created:** [December 9, 2020, 4:02pm UTC](https://forum.ansible.com/t/aws-cannot-pull-roles-defined-in-requirements-yaml-file/34312 "2020-12-09T16:02:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shaurav\_Raj](https://avatars.discourse-cdn.com/v4/letter/s/d2c977/32.png) [@Shaurav\_Raj](https://forum.ansible.com/u/Shaurav_Raj)\
**Post date:** [December 9, 2020, 4:02pm UTC](https://forum.ansible.com/t/aws-cannot-pull-roles-defined-in-requirements-yaml-file/34312/1 "2020-12-09T16:02:22Z")

</div>

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](mailto: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.
