ansible-lint - lint tool for Ansible playbooks
ansible-lint [-M module_path] [-l] [-s] [module...]
ansible-lint checks Ansible playbooks for practices and behaviour that
could potentially be improved.
show program’s version number and exit
the DIRECTORY search path to load modules from.
The default is /usr/share/ansible. This can also be set with the
ANSIBLE_LIBRARY environment variable.
Produce a snippet which can be copied into a playbook for
modification, like a kind of task template.
Produce a terse listing of modules and a short
description of each.
show this help message and exit
list all the rules
quieter, although not silent output
parseable output in the format of pep8
specify one or more rules directories using one or more
-r arguments. Any -r flags override the default rules in
-R is also used.
Use default rules in
/usr/local/lib/python3.5/dist-packages/ansiblelint/rules in addition to
any extra rules directories specified with -r. There is no need to
specify this if no -r flags are used
only check rules whose id/tags match these values
list all the tags
Increase verbosity level
only check rules whose id/tags do not match these
disable colored output
Try force colored output (relying on ansible’s
path to directories or files to skip. This option is
ansible-lint was originally written by Will Thames
Copyright © 2013-2016 Will Thames <firstname.lastname@example.org>
ansible-lint is released under the terms of the MIT License.