Browse Source

pre-commit: drop redundant ansible-syntax-check

ansible-lint hook already check syntax on the playbooks.
pull/11606/head
Max Gautier 1 month ago
parent
commit
4f27bc2bf9
Failed to extract signature
1 changed files with 0 additions and 8 deletions
  1. 8
      .pre-commit-config.yaml

8
.pre-commit-config.yaml

@ -52,14 +52,6 @@ repos:
- repo: local - repo: local
hooks: 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 - id: tox-inventory-builder
name: tox-inventory-builder name: tox-inventory-builder
entry: bash -c "cd contrib/inventory_builder && tox" entry: bash -c "cd contrib/inventory_builder && tox"

Loading…
Cancel
Save