matrix-docker-ansible-deploy/.github/workflows/ansible-lint.yml

23 lines
454 B
YAML
Raw Normal View History

name: Ansible Lint
on: [push, pull_request]
jobs:
build:
2021-12-27 12:55:02 +00:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Lint Ansible Playbook
2021-12-17 15:33:20 +00:00
uses: ansible/ansible-lint-action@c37fb7b4bda2c8cb18f4942716bae9f11b0dc9bc
with:
# Paths to ansible files (i.e., playbooks, tasks, handlers etc..)
targets: "./"
2021-12-17 15:33:20 +00:00
override-deps: |
ansible-lint==5.3.1
2021-12-27 12:55:02 +00:00
args: "-x metadata, formatting"