2021-03-12 13:26:34 +01:00
|
|
|
---
|
|
|
|
name: Ansible Lint check
|
|
|
|
|
|
|
|
# yamllint disable-line rule:truthy
|
2023-10-23 16:49:04 +02:00
|
|
|
on: [push, pull_request]
|
2021-03-12 13:26:34 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-10-23 16:49:04 +02:00
|
|
|
name: Ansible Lint
|
2021-03-12 13:26:34 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2023-10-23 16:49:04 +02:00
|
|
|
- name: Checkout git repo
|
|
|
|
uses: actions/checkout@v4
|
2023-04-20 23:06:34 +02:00
|
|
|
with:
|
|
|
|
submodules: true
|
|
|
|
fetch-depth: 0
|
2021-03-12 13:26:34 +01:00
|
|
|
|
2023-10-23 16:49:04 +02:00
|
|
|
- name: Run ansible-lint
|
|
|
|
uses: ansible-actions/ansible-lint-action@v1.0.2
|
2021-03-12 13:26:34 +01:00
|
|
|
with:
|
2023-10-23 16:49:04 +02:00
|
|
|
target: "./"
|
2023-10-28 16:50:33 +02:00
|
|
|
collections_yml: "requirements.yml"
|