2021-01-16 22:36:41 +01:00
|
|
|
---
|
2021-01-16 22:21:05 +01:00
|
|
|
name: Ansible Lint check
|
|
|
|
|
2021-01-27 15:13:02 +01:00
|
|
|
# yamllint disable-line rule:truthy
|
2023-07-19 10:58:23 +02:00
|
|
|
on: [push, pull_request]
|
2021-01-16 22:21:05 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-07-19 10:58:23 +02:00
|
|
|
name: Ansible Lint
|
2021-01-16 22:21:05 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2022-04-07 22:56:47 +02:00
|
|
|
- name: 'checkout git repo'
|
2023-09-05 07:54:06 +02:00
|
|
|
uses: actions/checkout@v4
|
2023-07-19 10:58:23 +02:00
|
|
|
with:
|
|
|
|
lfs: true
|
|
|
|
submodules: false
|
|
|
|
fetch-depth: 0
|
2021-01-16 22:36:41 +01:00
|
|
|
|
2022-04-07 22:56:47 +02:00
|
|
|
- name: 'Lint Ansible Playbook'
|
2022-03-27 04:13:34 +02:00
|
|
|
uses: ansible/ansible-lint-action@v6
|
2021-01-16 22:36:41 +01:00
|
|
|
with:
|
2023-07-19 10:58:23 +02:00
|
|
|
path: "."
|