Re: [ansible-devel] YAML File check

2023-01-12 Thread Brian Coca
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

Re: [ansible-devel] YAML File check

2023-01-12 Thread Didier BOURRIAUD
Hi Asad Hasan, Personally, I use YamlLint from the "sdesbure/yamllint" Docker Image -> https://hub.docker.com/r/sdesbure/yamllint I made this alias in my BashRc to mount local path to /yaml in the container and launch it in every path: alias yamllint='eval docker run -it --rm -v ${PWD}:/yaml sdes

[ansible-devel] YAML File check

2023-01-11 Thread Asad Hasan
Hi All , Is there any good tool or web link to verify the yaml file . Thanks, -- 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+uns