linux-system-roles / template

example template for creating new subsystem roles
https://linux-system-roles.github.io/template/
MIT License
13 stars 20 forks source link

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

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