Ansible pre-commit hook
Ansible pre-commit hook. The hook runs
ansible --syntax-check
against playbooks declared.
Usage
Add the following to your .pre-commit-config.yaml
:
- repo: https://www.shore.co.il/git/ansible-pre-commit/
sha: v0.2.0
hooks:
- id: ansible-pre-commit
files: playbook.yml
License
This software is licensed under the MIT license (see the LICENSE.txt
file).
Author Information
Nimrod Adar, contact me or visit my website. Patches are welcome via git send-email. The repository is located at: https://www.shore.co.il/git/.