Code Quality for Ansible
Problem to solve
Customers who store ansible files in GitLab cannot see how the quality of the code has changed for a change so cannot trust it will be as maintainable/readable as before.
Intended users
- Delaney (Development Team Lead)
- Sasha (Software Developer)
- Devon (DevOps Engineer)
- Sidney (Systems Administrator)
- Sam (Security Analyst)
Further details
Code Quality doesn't seem to support Ansible at the moment, but we have customers interested in this feature.
Proposal
Create an analyzer based on https://docs.ansible.com/ansible-lint/, generating a code_quality report file.
Like security reports, it should be possible to aggregate results from various analyzers, yet this is something to confirm,
Permissions and Security
N/A
Documentation
Update https://docs.gitlab.com/ee/user/project/merge_requests/code_quality.html with the list of supported languages
Testing
TODO
What does success look like, and how can we measure that?
- Ansible projects supported and their code analyzed. Errors reported in the Merge Request widget.
What is the type of buyer?
Links / references
Prospect: https://gitlab.my.salesforce.com/0014M00001kGIR6?srPos=0&srKp=001
Edited by James Heimbuck