Ansible-lint
Checks playbooks for practices and behavior that could potentially be improved and can fix some of the most common ones for you
Last updated
Was this helpful?
Checks playbooks for practices and behavior that could potentially be improved and can fix some of the most common ones for you
Ansible-lint is a linter for Ansible.
You can enable the Ansible-lint linter with:
trunk check enable ansible-lintAnsible-lint will never be auto-enabled. It must be enabled manually.
Ansible-lint supports the following config files:
.ansible-lint
You can move these files to .trunk/configs and trunk check will still find them. See Moving Linters for more info.
Ansible-lint must be configured with a trigger. See the trigger rules documentation for more information.
If your ansible setup is not contained within a single folder you would list all files and directories belonging to your ansible setup.
Ansible-lint Trunk Code Quality integration source
Trunk Code Quality's open source plugins repo
Last updated
Was this helpful?
Was this helpful?

