Ansible pre-commit hook
#######################
Ansible `pre-commit `_ hook. The hook runs
:code:`ansible --syntax-check` against playbooks declared.
Dependencies
------------
- Ansible.
- Pre-commit.
Installation
------------
Add the following to your :code:`.pre-commit-config.yaml`:
.. code:: yaml
- repo: https://www.shore.co.il/git/ansible-pre-commit/
sha: v0.2.0
hooks:
- id: ansible-pre-commit
files: playbook.yml
And run :code:`pre-commit autoupdate` to update the hooks.
License
-------
This software is licensed under the MIT license (see the :code:`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/.