2021-01-16 22:36:41 +01:00
|
|
|
---
|
2021-01-16 22:21:05 +01:00
|
|
|
name: Ansible Lint check
|
|
|
|
|
2021-01-27 15:13:02 +01:00
|
|
|
# yamllint disable-line rule:truthy
|
2023-07-19 10:58:23 +02:00
|
|
|
on: [push, pull_request]
|
2021-01-16 22:21:05 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-07-19 10:58:23 +02:00
|
|
|
name: Ansible Lint
|
2021-01-16 22:21:05 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2022-04-07 22:56:47 +02:00
|
|
|
- name: 'checkout git repo'
|
2023-10-21 02:16:13 +02:00
|
|
|
uses: actions/checkout@v4.1.1
|
2023-07-19 10:58:23 +02:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2021-01-16 22:36:41 +01:00
|
|
|
|
2023-10-10 19:30:38 +02:00
|
|
|
- name: Run ansible-lint
|
2023-10-23 07:57:22 +02:00
|
|
|
uses: ansible-actions/ansible-lint-action@v1.0.2
|
2021-01-16 22:36:41 +01:00
|
|
|
with:
|
2023-10-10 19:30:38 +02:00
|
|
|
target: "./"
|
2023-10-21 02:16:13 +02:00
|
|
|
collections_yml: 'requirements.yml'
|
|
|
|
python_dependency: 'jmespath'
|