diff --git a/README.rst b/README.rst index 1318bf83b1a1fb3e9bfd54efdba3863524f29171..cd5b781634ff15988dde05e25119cb370dd1fe5b 100644 --- a/README.rst +++ b/README.rst @@ -18,12 +18,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.2.0 + sha: v0.3.1 hooks: - id: ansible-pre-commit + # In case you want to specify other playbook files: files: playbook.yml -And run :code:`pre-commit autoupdate` to update the hooks. +And run :code:`pre-commit autoupdate` to update the hooks. In case your +:code:`roles` directory isn't in the same directory as the playbook you're +testing or at :code:`/etc/ansible/roles` you need to declare the roles search +path in :code:`ansible.cfg` in the root of the repo like so: + +.. code: + + [defaults] + roles_path=path/to/roles/directory:path/to/another/roles/directory License ------- diff --git a/VERSION b/VERSION index 9325c3ccda9850bb6e102aef07d314210f5c9f41..a2268e2de4458c0966915535aa599e828b6d22ae 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.3.0 \ No newline at end of file +0.3.1 \ No newline at end of file