Skip to content
Snippets Groups Projects
Commit 7020043d authored by nimrod's avatar nimrod
Browse files

- Some more documentation.

parent 677c9ae1
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,14 @@ Ansible pre-commit hook
Ansible `pre-commit <http://pre-commit.com/>`_ hook. The hook runs
:code:`ansible --syntax-check` against playbooks declared.
Usage
-----
Dependencies
------------
- Ansible.
- Pre-commit.
Installation
------------
Add the following to your :code:`.pre-commit-config.yaml`:
......@@ -17,6 +23,8 @@ Add the following to your :code:`.pre-commit-config.yaml`:
- id: ansible-pre-commit
files: playbook.yml
And run :code:`pre-commit autoupdate` to update the hooks.
License
-------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment