2021-09-02 01:44:09 +02:00
|
|
|
---
|
|
|
|
name: Ansible Lint check
|
|
|
|
|
|
|
|
# yamllint disable-line rule:truthy
|
2022-04-05 23:29:12 +02:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: '*'
|
|
|
|
pull_request:
|
|
|
|
branches: '*'
|
2021-09-02 01:44:09 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-04-25 23:52:04 +02:00
|
|
|
|
2021-09-02 01:44:09 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2022-04-07 22:38:53 +02:00
|
|
|
- name: 'checkout git repo'
|
|
|
|
uses: actions/checkout@v3
|
2023-04-25 23:52:04 +02:00
|
|
|
with:
|
|
|
|
lfs: true
|
|
|
|
submodules: true
|
|
|
|
fetch-depth: 0
|
2021-09-02 01:44:09 +02:00
|
|
|
|
2022-04-07 22:38:53 +02:00
|
|
|
- name: 'Lint Ansible Playbook'
|
2022-04-05 23:29:12 +02:00
|
|
|
uses: ansible/ansible-lint-action@v6
|
2021-09-02 01:44:09 +02:00
|
|
|
with:
|
2023-04-25 23:52:04 +02:00
|
|
|
path: "."
|