ansible-playbook-bundle icon indicating copy to clipboard operation
ansible-playbook-bundle copied to clipboard

Create a lint command for both apb.yml as well as general APB files itself

Open jwmatthews opened this issue 7 years ago • 2 comments

Need ability to lint an apb.yml content, helps with verifying APBs in relation to partner APBs submitted.

In addition, would help to go through all ansible playbooks and sanity check

jwmatthews avatar Oct 04 '17 17:10 jwmatthews

+1 If your apb.yml isn't valid YAML then the docker image will build perfectly, but won't get loaded during bootstrap of the Ansible Service Broker.

I got asb boostrap error:

[2017-10-05T08:08:56.763Z] [ERROR] Failed to bootstrap on startup!
[2017-10-05T08:08:56.763Z] [ERROR] 102: Not a file (/spec) [15]

sterburg avatar Oct 05 '17 08:10 sterburg

+1 agree completely. Currently the broker crashes (at least the version I have) if any of the yaml is not valid

maleck13 avatar Oct 17 '17 15:10 maleck13