Commit 7020043d authored by nimrod's avatar nimrod
Browse files

- Some more documentation.

parent 677c9ae1
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -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
-------