2021-02-26 17:26:17 +01:00
|
|
|
---
|
|
|
|
name: Ansible Lint check
|
|
|
|
|
|
|
|
# yamllint disable-line rule:truthy
|
2023-07-31 23:17:34 +02:00
|
|
|
on: [push, pull_request]
|
2021-02-26 17:26:17 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-07-31 23:17:34 +02:00
|
|
|
name: Ansible Lint
|
2021-02-26 17:26:17 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2023-10-23 00:23:12 +02:00
|
|
|
- name: Checkout git repo
|
2023-09-05 13:24:34 +02:00
|
|
|
uses: actions/checkout@v4
|
2023-05-19 19:00:08 +02:00
|
|
|
with:
|
2023-10-23 00:23:12 +02:00
|
|
|
submodules: true
|
2023-05-19 19:00:08 +02:00
|
|
|
fetch-depth: 0
|
2021-02-26 17:26:17 +01:00
|
|
|
|
2023-10-23 00:23:12 +02:00
|
|
|
- name: Run ansible-lint
|
2024-03-22 12:12:41 +01:00
|
|
|
uses: ansible-actions/ansible-lint-action@v1.0.3
|
2021-02-26 17:26:17 +01:00
|
|
|
with:
|
2023-10-23 00:23:12 +02:00
|
|
|
target: "./"
|
2023-10-28 16:30:16 +02:00
|
|
|
collections_yml: "requirements.yml"
|