2023-09-29 21:28:20 +02:00
|
|
|
---
|
|
|
|
name: Ansible Lint check
|
|
|
|
|
|
|
|
# yamllint disable-line rule:truthy
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Ansible Lint
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2023-10-28 17:30:10 +02:00
|
|
|
- name: Checkout git repo
|
|
|
|
uses: actions/checkout@v4
|
2023-09-29 21:28:20 +02:00
|
|
|
with:
|
2023-10-28 17:30:10 +02:00
|
|
|
submodules: true
|
2023-09-29 21:28:20 +02:00
|
|
|
fetch-depth: 0
|
|
|
|
|
2023-09-30 23:04:58 +02:00
|
|
|
- name: Run ansible-lint
|
2023-10-23 18:40:48 +02:00
|
|
|
uses: ansible-actions/ansible-lint-action@v1.0.2
|
2023-09-29 21:28:20 +02:00
|
|
|
with:
|
2023-10-02 00:46:01 +02:00
|
|
|
target: "./"
|
2023-10-28 17:30:10 +02:00
|
|
|
collections_yml: 'requirements.yml'
|