Skip to content

Commit

Permalink
Comment out pre-commit hooks for Packer and Ansible with justification.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew-Grayson committed Mar 8, 2024
1 parent d21acb8 commit 058bf55
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,14 @@ repos:
hooks:
- id: pyupgrade

# Ansible hooks
- repo: https://github.com/ansible/ansible-lint
rev: v6.19.0
hooks:
- id: ansible-lint
# files: molecule/default/playbook.yml
# # Ansible hooks
# This hook takes several minutes checking .yml files outside our version control and
# there are no ansible playbooks in this repository
# - repo: https://github.com/ansible/ansible-lint
# rev: v6.19.0
# hooks:
# - id: ansible-lint
# files: molecule/default/playbook.yml

# Terraform hooks
- repo: https://github.com/antonbabenko/pre-commit-terraform
Expand All @@ -155,9 +157,10 @@ repos:
hooks:
- id: docker-compose-check

# Packer hooks
- repo: https://github.com/cisagov/pre-commit-packer
rev: v0.0.2
hooks:
- id: packer_validate
- id: packer_fmt
# # Packer hooks
# This hook fails and there are no packer files in this repository
# - repo: https://github.com/cisagov/pre-commit-packer
# rev: v0.0.2
# hooks:
# - id: packer_validate
# - id: packer_fmt

0 comments on commit 058bf55

Please sign in to comment.