How to pass the git credentails if we are calling the playbook from other repository

,

Hi All,

I have a playbook like below,

In the above playbook, we are importing playbook current repository, and after sucessfull ran of that we are importing another playbook which is present in some other repository.
Now correct me if i am wrong i have passed credentails of git like above for the other repository.
I have tried execute this playbook in ansible template. it is troughing error like this.

ERROR! Unable to retrieve file contents
Could not find or access ‘/runner/project/Test/https:/gitlab-secret:stgctnb…@gitlab.appsintranet.net/cloud/hub/ansible-awx-ee/-/blob/dev/Test-Dev/master.yaml’ on the Ansible Controller.

If you are using a module and expect the file to exist on the remote, see the remote_src option

Kindly suggest me and help me resolve this issue.

Thanks

Reply all

Reply to author

Forwar