Problem when i want to choose a playbook for my job

Hello,

I’ve a problem with AWX.

When i create a job and link one to a playbook, there’s a problem.
When i click on playbook, it shows me only 2 playbooks whereas i’ve more than 2 (10 exactly).

Due to this problem, i can’t create all my jobs.

Does someone have an idea?

Best regards

Samuel

I had a similar problem last week.
When I had 3 playbooks on my gitlab (was a new project) and the template only showed me 1.
The only way I found to fix this was remove all content from the project (GIT) and commit a new version.
Then sync the project from AWX and solved the problem.

Samuel,

Are you able to share the contents of your playbook? We determine a file to be playbook if:

If you can’t share the contents of the entire playbooks that aren’t matching, maybe you can share the first few lines?

https://github.com/ansible/awx/blob/devel/awx/main/utils/ansible.py#L38

Hello,

Problem has been solved. It was a problem with the content of the file (not good written yaml).

Best regards

Samuel