Most yaml linters will only tell you if the file is valid YAML and to theri opinion/spec, which is not always what Ansible uses, we relly on pyyaml which is following YAML 1.1 spec.
You have ansible-lint as a general tools, but if you just want a quick test for playbooks `ansbile-playbook --syntax-check playbook.yml `, for vars files i would use `ansbile -m include_vars ....`, for roles `ansbile -m import_role ...` -- ---------- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/CACVha7d64xPMLN2Pg4DtAvy7awUe4AEYaT4OtVtBaVG7_%3DND_A%40mail.gmail.com.