mirror of
https://github.com/DO1JLR/ansible_playbook_servers.git
synced 2024-09-14 19:53:56 +02:00
28 lines
465 B
YAML
28 lines
465 B
YAML
|
---
|
||
|
name: Ansible Lint check
|
||
|
|
||
|
# yamllint disable-line rule:truthy
|
||
|
on:
|
||
|
push:
|
||
|
branches: '*'
|
||
|
pull_request:
|
||
|
branches: '*'
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- name: 'checkout git repo'
|
||
|
uses: actions/checkout@v3
|
||
|
with:
|
||
|
lfs: true
|
||
|
submodules: true
|
||
|
fetch-depth: 0
|
||
|
|
||
|
- name: 'Lint Ansible Playbook'
|
||
|
uses: ansible/ansible-lint-action@v6
|
||
|
with:
|
||
|
path: "site.yml"
|