ansible/awx

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

Open

#6,842 创建于 2020年4月27日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Python (3,333 fork)batch import
Hacktoberfestcomponent:apigood first issuetype:enhancement

仓库指标

Star
 (13,071 star)
PR 合并指标
 (平均合并 24天 6小时) (30 天内合并 30 个 PR)

描述

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.

贡献者指南