linux-system-roles / nbde_client

Ansible role for configuring Network Bound Disk Encryption clients (e.g. clevis)
https://linux-system-roles.github.io/nbde_client/
MIT License
14 stars 24 forks source link

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

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