mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-07 16:12:43 +00:00
20 lines
366 B
YAML
20 lines
366 B
YAML
|
name: Ansible Lint
|
||
|
|
||
|
on: [push, pull_request]
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
|
||
|
- name: Lint Ansible Playbook
|
||
|
uses: ansible/ansible-lint-action@master
|
||
|
with:
|
||
|
# Paths to ansible files (i.e., playbooks, tasks, handlers etc..)
|
||
|
targets: "./"
|
||
|
|
||
|
args: "-x metadata, formatting"
|