dev-sec / ansible-collection-hardening

This Ansible collection provides battle tested hardening for Linux, SSH, nginx, MySQL

Home Page:http://dev-sec.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extend ansible-lint testing to cover our test cases

schurzi opened this issue · comments

Description

Currently we run our linting only on our published roles, ignoring all other Ansible code.

Solution

We should extend it to our test code as well to catch problems in the tests

- name: Lint Ansible Playbook
# replace "master" with any valid ref
uses: ansible/ansible-lint-action@main
with:
path: "roles/"

Alternatives

No response

Additional information

...