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

- Updated documentation.

- Bumped patch version.
parent 94b506c1
No related branches found
No related tags found
No related merge requests found
...@@ -18,12 +18,21 @@ Add the following to your :code:`.pre-commit-config.yaml`: ...@@ -18,12 +18,21 @@ Add the following to your :code:`.pre-commit-config.yaml`:
.. code:: yaml .. code:: yaml
- repo: https://www.shore.co.il/git/ansible-pre-commit/ - repo: https://www.shore.co.il/git/ansible-pre-commit/
sha: v0.2.0 sha: v0.3.1
hooks: hooks:
- id: ansible-pre-commit - id: ansible-pre-commit
# In case you want to specify other playbook files:
files: playbook.yml 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 License
------- -------
......
0.3.0 0.3.1
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment