Open diedpigs opened 4 years ago
You can skip specific rules or tags by adding them to your configuration file:
# .ansible-lint
warn_list: # or 'skip_list' to silence them completely
- command-instead-of-module # Using command rather than module
- command-instead-of-shell # Use shell only when shell functionality is required
- empty-string-compare # Don't compare to empty string
- experimental # all rules tagged as experimental
- git-latest # Git checkouts must contain explicit version
- literal-compare # Don't compare to literal True/False
- no-changed-when # Commands should not change things if nothing needs doing
- no-jinja-when # No Jinja2 in when
- package-latest # Package installs should not use latest
- risky-octal # Octal file permissions must contain leading zero or be a string
- risky-shell-pipe # Shells that use pipes should set the pipefail option
- unnamed-task # All tasks should be named
- var-spacing # Variables should have spaces before and after: {{ var_name }}
Finished with 230 failure(s), 92 warning(s) on 201 files.
Added Github Actions for ansible-lint, and here's the output: