ansible-lint analyzes Ansible playbooks and roles for
common issues
adherence to best practices
potential errors.
This ensures that your Ansible code is not only functionally correct but also follows the recommended guidelines for writing clean, maintainable, and efficient Ansible code.
Watch my little mini-walkthrough of using ansible-lint: