Problem adding my personal git repository as a SCM in AWX

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

Can anyone help me?
Thank you

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.

Hi, thank you for the answer.

I have uploaded now a project from another public repository (the build of stack lamp), but still I cannot see the playbook.

Hi Ervis,

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.

example:

  1. Project name ‘project1’
  2. Repository name: abc
  3. Provide url in project:- url: github.com//
  4. Write .yml playbooks in abc repo
  5. Select “project1” in template creation
  6. It will show all playbook available in repo abc

Regards,
Mili