Hello Guys,
I have created a public Git repository: https://github.com/ervis-s/Ansible-Repository just as a source code management for my AWX.
The problem that I encounter is that when I create a project (in AWX) and afterwards I upload this project to a template I cannot see the playbook inside my repository.
However it works fine for other repositories like for example: https://github.com/ansible/ansible-tower-samples
What playbook did you expect to see? The file test.yml in your repo is blank (so I don’t expect it will be picked up), and the role will not be recognized as a playbook.
Please follow the below steps. Hope this will work:
Create a project and select SCM Type as ‘git’
Create a personal repository in github and add playbooks with its format (.yml format)
Provide the ‘url’ of github till your repository
Go to the templates and create a new templete
Select created project in ‘project’ field
It will automatically show the playbooks available in path of project url.