👷: add ansible-lint
All checks were successful
ansible-lint / lint-everything (push) Successful in 1m8s

This commit is contained in:
VC
2025-03-14 18:09:09 +01:00
parent 9805120905
commit 08d39227fa
2 changed files with 13 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
---
name: ansible-lint
on:
on: # yamllint disable-line rule:truthy
- push
jobs:
@@ -10,5 +10,9 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Run ansible-lint
- name: Run yamllint
uses: frenck/action-yamllint@v1
- name: Run ansible-lint
uses: ansible/ansible-lint@main
with:
requirements_file: "requirements.yml"

7
requirements.yml Normal file
View File

@@ -0,0 +1,7 @@
---
collections:
- ansible.posix
- community.general
- community.mysql
- community.postgresql