Commit 8c4a3e7b authored by nimrod's avatar nimrod
Browse files

- Remove debug, update README, bump version to 0.2.0.

parent 1ad99979
Loading
Loading
Loading
Loading
+16 −2
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ Ansible pre-commit hook
#######################

Ansible `pre-commit <http://pre-commit.com/>`_ hook. The hook runs
:code:`ansible --syntax-check` against playbooks found.
:code:`ansible --syntax-check` against playbooks declared.

Usage
-----
@@ -12,7 +12,21 @@ Add the following to your :code:`.pre-commit-config.yaml`:
.. :code: yaml

    - repo: https://www.shore.co.il/git/ansible-pre-commit/
      sha: v0.1.0
      sha: v0.2.0
      hooks:
      - id: ansible-pre-commit
        files: playbook.yml

License
-------

This software is licensed under the AGPL v3+ license (see the :code:`LICENSE.txt`
file).

Author Information
------------------

Nimrod Adar, `contact me <nimrod@shore.co.il>`_ or visit my `website
<https://www.shore.co.il/>`_. Patches are welcome via `git send-email
<http://git-scm.com/book/en/v2/Git-Commands-Email>`_. The repository is located
at: https://www.shore.co.il/git/.
+1 −1
Original line number Diff line number Diff line
0.1.2
0.2.0
+1 −1
Original line number Diff line number Diff line
#!/bin/sh -e
echo "$@"

for playbook in $@
do
    ANSIBLE_ROLES_PATH=../ ansible-playbook \