2022-11-10 00:12:22 +01:00
|
|
|
---
|
|
|
|
name: Ansible Lint check
|
|
|
|
|
|
|
|
# yamllint disable-line rule:truthy
|
2023-10-12 17:58:25 +02:00
|
|
|
on: [push, pull_request]
|
2022-11-10 00:12:22 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-10-12 17:58:25 +02:00
|
|
|
name: Ansible Lint
|
2022-11-10 00:12:22 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: 'checkout git repo'
|
2023-10-12 18:03:58 +02:00
|
|
|
uses: actions/checkout@v4
|
2023-10-12 17:58:25 +02:00
|
|
|
with:
|
|
|
|
submodules: true
|
|
|
|
fetch-depth: 0
|
2022-11-10 00:12:22 +01:00
|
|
|
|
2023-10-12 17:58:25 +02:00
|
|
|
- name: Run ansible-lint
|
2023-10-22 19:51:16 +02:00
|
|
|
uses: ansible-actions/ansible-lint-action@v1.0.1
|
2022-11-10 00:12:22 +01:00
|
|
|
with:
|
2023-10-12 17:58:25 +02:00
|
|
|
target: "./"
|