Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

mnightingale/pre_commit_hooks

Repository files navigation

pre-commit-hooks

Collection of hooks for pre-commit.

See also: https://github.com/pre-commit/pre-commit

Using pre-commit-hooks with pre-commit

Add this to your .pre-commit-config.yaml

- repo: https://github.com/pre-commit/pre-commit-hooks
  rev: v1.0.0 # Use the ref you want to point at
  hooks:
      - id: detect-unencrypted-ansible-vault
  # -   id: ...

Hooks available

detect-unencrypted-ansible-vault

Detects the presence of unencrypted ansible vaults keys in files matching the pattern .*\.?vault(.ya?ml)?$

  • .vault
  • abc.vault
  • vault.yml
  • vault.yaml
  • vars.vault.yml
  • vars.vault.yaml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages