Galaxy’s new quality scoring of roles - feedback requested

Ansible Galaxy 3.1 will introduce quality scoring of roles - you can try this out now in the galaxy dev environment: https://galaxy-dev.ansible.com. We hope quality scores will provide another datapoint to help users compare different roles.

  • On Galaxy’s import of roles we run linters (ansible-lint, yamllint, and internal checks) and display any issues found. At this time scoring is done only on import.
  • The ansible-lint rules used are currently located here
  • The role’s content page Quality Score section displays linter issues, their severity, and the resulting scores. The Quality Score is broken down into, and the average of:
  • Content Score - based on linter issues related to tasks and yaml formatting
  • Metadata Score - based on linter issues specific to meta/main.yml

Feedback is welcome, thanks!

Andrew Crosby (@awcrosby)
Ansible Galaxy Engineering

In response to the question “Works without change?Y/N” the owner of the contribution might want to know what the changes were.

Thank you!

-vlado