2023-03-31 00:13:28 +02:00
|
|
|
---
|
|
|
|
name: Ansible Lint check
|
|
|
|
|
|
|
|
# yamllint disable-line rule:truthy
|
2023-07-19 12:03:31 +02:00
|
|
|
on: [push, pull_request]
|
2023-03-31 00:13:28 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-07-19 12:03:31 +02:00
|
|
|
name: Ansible Lint
|
2023-03-31 00:13:28 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2023-10-29 16:34:30 +01:00
|
|
|
- name: Checkout git repo
|
2023-10-10 18:10:22 +00:00
|
|
|
uses: actions/checkout@v4
|
2023-04-15 23:59:24 +02:00
|
|
|
with:
|
|
|
|
lfs: true
|
2023-10-10 20:12:22 +02:00
|
|
|
submodules: true
|
2023-04-15 23:59:24 +02:00
|
|
|
fetch-depth: 0
|
2023-03-31 00:13:28 +02:00
|
|
|
|
2023-10-10 20:08:12 +02:00
|
|
|
- name: Run ansible-lint
|
2023-10-23 05:28:02 +00:00
|
|
|
uses: ansible-actions/ansible-lint-action@v1.0.2
|
2023-03-31 00:13:28 +02:00
|
|
|
with:
|
2023-10-10 20:08:12 +02:00
|
|
|
target: "./"
|
|
|
|
python_dependency: "jmespath"
|
2023-10-29 16:34:30 +01:00
|
|
|
collections_yml: "requirements.yml"
|