ansibleplaybookbundle / ansible-playbook-bundle

THIS REPO IS MIGRATING: https://github.com/automationbroker/apb
GNU General Public License v2.0
140 stars 70 forks source link

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

Open jwmatthews opened 7 years ago

jwmatthews commented 7 years ago

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

sterburg commented 7 years ago

+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]
maleck13 commented 7 years ago

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