Ansible-lint profiles gradually increase the strictness of rules as your Ansible content lifecycle. To configure linter to use a specific profile, read applying-profiles.
* in the suffix are not yet implemented but are documented with linked GitHub issues.
min profile ensures that Ansible can load content. Rules in this profile
are mandatory because they prevent fatal errors. You can add files to the
exclude list or provide dependencies to load the correct files.
basic profile prevents common coding issues and enforces standard styles
and formatting. It extends min profile.
moderate profile ensures that content adheres to best practices for making
content easier to read and maintain. It extends basic profile.
safety profile avoids module calls that can have non-determinant outcomes
or security concerns. It extends moderate profile.
shared profile ensures that content follows best practices for packaging
and publishing. This profile is intended for content creators who want to make
Ansible playbooks, roles, or collections available from
automation-hub, or a
private instance. It extends safety profile.