From d72d7d8cdbdac0b30c62fa54487e14696323912f Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sun, 19 Jun 2016 18:06:01 +0300 Subject: [PATCH] - Updated documentation. - Bumped patch version. --- README.rst | 13 +++++++++++-- VERSION | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 1318bf8..cd5b781 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 9325c3c..a2268e2 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 -- GitLab