From 56dd027086dd9cca2ab64d90b8940b0f62f8f09c Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sat, 16 May 2026 10:19:30 +0200 Subject: [PATCH] Work around more 'syntax check' deficiencies. --- .ansible-lint | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.ansible-lint b/.ansible-lint index fdd9100a2c..449295e7b6 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -34,3 +34,15 @@ skip_list: - risky-shell-pipe - schema - var-naming + +exclude_paths: + # Ansible-lint uses "ansible-playbook --syntax-check" as its "syntax check", + # which bails out on roles it cannot find. The following playbooks are 100% valid, + # but we need to skip them due to ansible-lint's syntax check's deficiencies... + - tests/integration/targets/filter_hashids/runme.yml + - tests/integration/targets/filter_jc/runme.yml + - tests/integration/targets/filter_json_patch/runme.yml + - tests/integration/targets/filter_json_query/runme.yml + - tests/integration/targets/lookup_etcd3/dependencies.yml + - tests/integration/targets/lookup_etcd3/test_lookup_etcd3.yml + - tests/integration/targets/test_fqdn_valid/runme.yml