2021-05-27 14:14:13 +02:00
|
|
|
---
|
2020-11-06 11:40:44 +01:00
|
|
|
name: Ansible Lint check
|
|
|
|
|
2021-05-27 14:14:13 +02:00
|
|
|
# yamllint disable-line rule:truthy
|
2023-08-01 00:12:01 +02:00
|
|
|
on: [push, pull_request]
|
2020-11-06 11:40:44 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-08-01 00:12:01 +02:00
|
|
|
name: Ansible Lint
|
2020-11-06 11:40:44 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2022-04-08 00:29:40 +02:00
|
|
|
- name: 'checkout git repo'
|
|
|
|
uses: actions/checkout@v3
|
2023-08-01 00:12:01 +02:00
|
|
|
with:
|
|
|
|
lfs: true
|
|
|
|
submodules: false
|
|
|
|
fetch-depth: 0
|
2020-11-06 11:40:44 +01:00
|
|
|
|
2022-04-08 00:29:40 +02:00
|
|
|
- name: 'Lint Ansible Playbook'
|
2022-04-06 00:15:06 +02:00
|
|
|
uses: ansible/ansible-lint-action@v6
|
2021-05-27 14:14:13 +02:00
|
|
|
with:
|
2023-08-01 00:12:01 +02:00
|
|
|
path: "."
|