1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
|
ansible-lint(1)
===============
:doctype: manpage
:man source: ansible-lint
:man manual: System administration commands
NAME
----
ansible-lint - lint tool for Ansible playbooks
SYNOPSIS
--------
ansible-lint [-M module_path] [-l] [-s] [module...]
DESCRIPTION
-----------
*ansible-lint* checks Ansible playbooks for practices and behaviour
that could potentially be improved.
OPTIONS
-------
**--version**:
show program's version number and exit
*-M* 'DIRECTORY', *--module-path=*'DIRECTORY'::
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.
*-s*, *--snippet=*::
Produce a snippet which can be copied into a playbook for modification, like
a kind of task template.
*-l*, *--list=*::
Produce a terse listing of modules and a short description of each.
*-h*, *--help*::
show this help message and exit
*-L*::
list all the rules
*-q*::
quieter, although not silent output
*-p*::
parseable output in the format of pep8
*-r* 'RULESDIR'::
specify one or more rules directories using one or more *-r* arguments. Any *-r*
flags override the default rules in '/usr/local/lib/python3.5/dist-packages/ansiblelint/rules,'
unless *-R* is also used.
*-R*::
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
*-t* 'TAGS'::
only check rules whose id/tags match these values
*-T*::
list all the tags
*-v*::
Increase verbosity level
*-x* 'SKIP_LIST'::
only check rules whose id/tags do not match these values
*--nocolor*::
disable colored output
*--force-color*::
Try force colored output (relying on ansible's code)
*--exclude=*'EXCLUDE_PATHS'::
path to directories or files to skip. This option is repeatable.
AUTHOR
------
ansible-lint was originally written by Will Thames
COPYRIGHT
---------
Copyright © 2013-2016 Will Thames <will@thames.id.au>
ansible-lint is released under the terms of the MIT License.
SEE ALSO
--------
*ansible-playbook*(1), *ansible*(1)
|