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:
|
2023-10-30 00:21:01 +01:00
|
|
|
- name: Checkout git repo
|
2023-09-04 18:24:19 +02:00
|
|
|
uses: actions/checkout@v4
|
2023-08-01 00:12:01 +02:00
|
|
|
with:
|
2023-10-30 00:21:01 +01:00
|
|
|
submodules: true
|
2023-08-01 00:12:01 +02:00
|
|
|
fetch-depth: 0
|
2020-11-06 11:40:44 +01:00
|
|
|
|
2023-10-30 00:21:01 +01:00
|
|
|
- name: Run ansible-lint
|
2024-03-22 17:28:20 +01:00
|
|
|
uses: ansible-actions/ansible-lint-action@v1.0.3
|
2021-05-27 14:14:13 +02:00
|
|
|
with:
|
2023-10-30 00:21:01 +01:00
|
|
|
target: "./"
|
|
|
|
collections_yml: 'requirements.yml'
|