ansible/awx

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

Open

#6,842 opened on 2020年4月27日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)Python (3,333 forks)batch import
Hacktoberfestcomponent:apigood first issuetype:enhancement

Repository metrics

Stars
 (13,071 stars)
PR merge metrics
 (平均マージ 24d 6h) (30d で 30 merged PRs)

説明

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.

コントリビューターガイド