2021-09-02 01:44:09 +02:00
|
|
|
---
|
|
|
|
name: Ansible Lint check
|
|
|
|
|
|
|
|
# yamllint disable-line rule:truthy
|
2023-10-05 21:44:41 +02:00
|
|
|
on: [push, pull_request]
|
2021-09-02 01:44:09 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-10-05 21:44:41 +02:00
|
|
|
name: Ansible Lint
|
2021-09-02 01:44:09 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2023-10-23 00:58:17 +02:00
|
|
|
- name: 'Checkout git repo'
|
|
|
|
uses: actions/checkout@v4.1.1
|
2023-04-25 23:52:04 +02:00
|
|
|
with:
|
|
|
|
submodules: true
|
|
|
|
fetch-depth: 0
|
2021-09-02 01:44:09 +02:00
|
|
|
|
2023-10-05 21:44:41 +02:00
|
|
|
- name: Run ansible-lint
|
2023-10-23 00:58:17 +02:00
|
|
|
uses: ansible-actions/ansible-lint-action@v1.0.1
|
2021-09-02 01:44:09 +02:00
|
|
|
with:
|
2023-10-23 01:01:59 +02:00
|
|
|
target: "./"
|