2021-01-18 10:47:52 +01:00
|
|
|
---
|
2020-08-28 14:01:22 +02:00
|
|
|
name: Ansible Lint check
|
|
|
|
|
2021-01-18 10:47:52 +01:00
|
|
|
# yamllint disable-line rule:truthy
|
2023-07-31 16:52:24 +02:00
|
|
|
on: [push, pull_request]
|
2020-08-28 14:01:22 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-07-31 16:52:24 +02:00
|
|
|
name: Ansible Lint
|
2020-08-28 14:01:22 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2022-04-07 22:42:42 +02:00
|
|
|
- name: 'checkout git repo'
|
|
|
|
uses: actions/checkout@v3
|
2023-07-31 16:52:24 +02:00
|
|
|
with:
|
|
|
|
lfs: true
|
|
|
|
submodules: false
|
|
|
|
fetch-depth: 0
|
2020-08-28 14:01:22 +02:00
|
|
|
|
2022-04-07 22:42:42 +02:00
|
|
|
- name: 'Lint Ansible Playbook'
|
2022-04-04 13:22:46 +02:00
|
|
|
uses: ansible/ansible-lint-action@v6
|
2021-01-18 10:47:52 +01:00
|
|
|
with:
|
2023-07-31 16:52:24 +02:00
|
|
|
path: "."
|