Skip to content

feat: add support for ansible-lint scanner for Ansible

What does this MR do and why?

This update adds support for ansible-lint, a tool that scans and lints Ansible playbooks, to the code quality scanning integration. The changes include:

  1. Adding ansible-lint to the list of supported code quality scanners in the README
  2. Creating a new template file (ansible-lint.yml) that defines how the ansible-lint scanner will run
  3. Updating the main configuration to include the ansible-lint template
  4. Adding a new parameter for the ansible-lint container image

The ansible-lint scanner will automatically run when YAML files are detected in the repository, generating code quality reports in the standard format. Like other scanners in this collection, it can be configured with a custom configuration file and will be included in merge request pipelines to help identify potential issues in Ansible code.

This merge request is part of #7 (closed)

Edited by Norman Debald

Merge request reports

Loading