pre-commit: drop redundant ansible-syntax-check

ansible-lint hook already check syntax on the playbooks.
pull/11606/head
Max Gautier 2024-10-07 14:18:36 +02:00
parent 07e551ab77
commit 4f27bc2bf9
No known key found for this signature in database
1 changed files with 0 additions and 8 deletions

View File

@ -52,14 +52,6 @@ repos:
- repo: local
hooks:
- id: ansible-syntax-check
name: ansible-syntax-check
entry: env ANSIBLE_INVENTORY=inventory/local-tests.cfg ANSIBLE_REMOTE_USER=root ANSIBLE_BECOME="true" ANSIBLE_BECOME_USER=root ANSIBLE_VERBOSITY="3" ansible-playbook --syntax-check
language: python
files: "^cluster.yml|^upgrade-cluster.yml|^reset.yml|^extra_playbooks/upgrade-only-k8s.yml"
additional_dependencies:
- ansible==9.5.1
- id: tox-inventory-builder
name: tox-inventory-builder
entry: bash -c "cd contrib/inventory_builder && tox"