linux-system-roles / tlog

https://linux-system-roles.github.io/tlog/
GNU General Public License v3.0
5 stars 15 forks source link

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

Closed richm closed 10 months ago

richm commented 11 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