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-05 07:22:36 +02:00
|
|
|
uses: actions/checkout@v4.0.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-04-21 13:55:27 +02:00
|
|
|
- name: 'Lint Ansible Playbook'
|
2023-08-01 19:07:39 +02:00
|
|
|
uses: ansible/ansible-lint-action@v6.17.0
|
2021-03-12 00:30:28 +01:00
|
|
|
with:
|
2023-08-01 19:07:39 +02:00
|
|
|
path: "site.yml"
|