--help, -h | Show help for ansible-lint |
--list-rules, -L | List all the rules |
--list-tags, -T | List all the tags and the rules they cover |
--format, -f <-f> | Stdout formatting |
-q | - Repeatable ♾
- Repeatable 2x
|
-p | Parseable output, same as '-f pep8' |
--progressive | Return success if it detects a reduction in number of violations compared with previous git commit. This feature works only in git repositories |
--project-dir <PROJECT_DIR> | Location of project/repository, autodetected based on location of configuration file |
--rules-dir, -r <RULESDIR> | Specify custom rule directories |
-R | Keep using embedded rules when using '-r' |
--write <WRITE_LIST> | Allow ansible-lint to reformat YAML files and run rule transforms |
--show-relpath | Display path relative to CWD |
--tags, -t | Only check rules whose id/tags match these values |
-v | - Repeatable ♾
- Repeatable 2x
|
--skip-list, -x <SKIP_LIST> | Only check rules whose id/tags do not match these values |
--warn-list, -w <WARN_LIST> | Only warn about these rules, unless overridden in config file defaults to 'experimental' |
--enable-list <ENABLE_LIST> | Activate optional rules by their tag name |
--nocolor | Disable colored output, same as NO_COLOR=1 |
--force-color | Force colored output, same as FORCE_COLOR=1 |
--exclude-paths <EXCLUDE_PATHS...> | Path to directories or files to skip. This option is repeatable |
--config-file <CONFIG_FILE> | Specify configuration file to use. By default it will look for '.ansible-lint' or '.config/ansible-lint.yml' |
--offline | Disable installation of requirements.yml |
--version | Show version of ansible-lint |