From dde7917f9e586f7a72216189aed26f1fc7c42b1e Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Tue, 8 Nov 2016 15:21:36 +0200 Subject: [PATCH] - Updated README. --- README.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index aa5757b..3c6f2fb 100644 --- a/README.rst +++ b/README.rst @@ -5,6 +5,8 @@ Ansible `pre-commit <http://pre-commit.com/>`_ hooks. - ansible-syntax-check: The hook runs :code:`ansible --syntax-check` against playbooks declared. +- ansible-vault-check: The hook verifies that files that have :code:`vault` in + the filename are indeed vaulted. Dependencies ------------ @@ -20,11 +22,12 @@ Add the following to your :code:`.pre-commit-config.yaml`: .. code:: yaml - repo: https://www.shore.co.il/git/ansible-pre-commit/ - sha: v0.3.1 + sha: v0.4.0 hooks: - id: ansible-syntax-check # In case you want to specify other playbook files: files: playbook.yml + - id: ansible-vault-check 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 -- GitLab