2021-03-12 00:30:28 +01:00
|
|
|
---
|
|
|
|
name: Ansible Lint check
|
|
|
|
|
|
|
|
# yamllint disable-line rule:truthy
|
2023-08-01 19:07:39 +02:00
|
|
|
on: [push, pull_request]
|
2021-03-12 00:30:28 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-08-01 19:07:39 +02:00
|
|
|
name: Ansible Lint
|
2021-03-12 00:30:28 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2023-04-21 13:55:27 +02:00
|
|
|
- name: 'checkout git repo'
|
2023-09-25 07:40:50 +02:00
|
|
|
uses: actions/checkout@v4.1.0
|
2023-04-21 13:55:27 +02:00
|
|
|
with:
|
|
|
|
lfs: true
|
|
|
|
submodules: true
|
|
|
|
fetch-depth: 0
|
2021-03-12 00:30:28 +01:00
|
|
|
|
2023-10-05 21:16:04 +02:00
|
|
|
- name: Run ansible-lint
|
|
|
|
uses: ansible-actions/ansible-lint-action@v0.0.1
|
2021-03-12 00:30:28 +01:00
|
|
|
with:
|
2023-10-05 21:16:04 +02:00
|
|
|
targetQ: "site.yml"
|