linux-system-roles / rhc

Role to manage RH subscription management and Insights
https://linux-system-roles.github.io/rhc/
MIT License
10 stars 15 forks source link

ci: Use supported ansible-lint action; run ansible-lint against the collection #157

Closed richm closed 10 months ago

richm commented 10 months ago

The old ansible-community ansible-lint is deprecated. There is a new ansible-lint github action.

The latest Ansible repo gating tests run ansible-lint against the collection format instead of against individual roles. We have to convert the role to collection format before running ansible-test.

This also requires tox-lsr 3.2.1 - bump other actions to use 3.2.1

Role developers can run this locally using tox -e collection,ansible-lint-collection See https://github.com/linux-system-roles/tox-lsr/pull/125

Signed-off-by: Rich Megginson rmeggins@redhat.com