Skip to content


syntax checking your yaml code – ansible playbooks

I find yamllint quite useful while scripting in “yaml”. Install it with pip as it is a python package.

# pip install yamllint
Collecting yamllint
  Downloading yamllint-1.10.0-py2.py3-none-any.whl (42kB)
    100% |████████████████████████████████| 51kB 1.8MB/s
Collecting pathspec>=0.5.3 (from yamllint)
  Downloading pathspec-0.5.5.tar.gz
Requirement already satisfied: pyyaml in /usr/lib64/python2.7/site-packages (from yamllint)
Installing collected packages: pathspec, yamllint
  Running setup.py install for pathspec ... done
Successfully installed pathspec-0.5.5 yamllint-1.10.0
#  yamllint
usage: yamllint [-h] [-c CONFIG_FILE | -d CONFIG_DATA]
                [-f {parsable,standard}] [-s] [-v]
                FILE_OR_DIR [FILE_OR_DIR ...]

Posted in LINUX.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.

WordPress Anti Spam by WP-SpamShield



Copyright © 2016 - 2018 Waldemar Mark Duszyk. All Rights Reserved. Created by Blog Copyright.