From 4f27bc2bf92f40168b995f86d6873087a755477b Mon Sep 17 00:00:00 2001 From: Max Gautier Date: Mon, 7 Oct 2024 14:18:36 +0200 Subject: [PATCH] pre-commit: drop redundant ansible-syntax-check ansible-lint hook already check syntax on the playbooks. --- .pre-commit-config.yaml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d8e3a7f84..d3e0ab3b9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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"