mirror of
https://github.com/DO1JLR/ansible_playbook_servers.git
synced 2024-09-14 19:53:56 +02:00
23 lines
480 B
YAML
23 lines
480 B
YAML
---
|
|
name: Ansible Lint check
|
|
|
|
# yamllint disable-line rule:truthy
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
name: Ansible Lint
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout git repo
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: true
|
|
fetch-depth: 0
|
|
|
|
- name: Run ansible-lint
|
|
uses: ansible-actions/ansible-lint-action@v1.0.2
|
|
with:
|
|
target: "./"
|
|
python_dependency_file: 'requirements.txt'
|