ansible/awx

"Playbook not found for project" error when the playbook exist but is invalid

Open

#6842 aperta il 27 apr 2020

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Python (3333 fork)batch import
Hacktoberfestcomponent:apigood first issuetype:enhancement

Metriche repository

Star
 (13.071 star)
Metriche merge PR
 (Merge medio 24g 6h) (30 PR mergiate in 30 g)

Descrizione

ISSUE TYPE

When a playbook is not valid but its filename is specified using a rest api enpoint, (e.g using job_templates endpoint) the system returns "Playbook not found for project".

SUMMARY

Error "Playbook not found for project", suggest users that yaml file doesn't exist at specified playbook path. In this particular situation error message like "Playbook specified doesn't contain any plays" or "Playbook specified is not a valid playbook" would clearly suggest user where problem lies.

Guida contributor