From 4de3ce117be66b167d095ae6b380a428e4d139cc Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Mon, 8 Sep 2025 18:02:24 -0600 Subject: [PATCH] refactor: disable ansible-lint invalid jinja error Not really invalid see https://github.com/ansible/ansible-lint/issues/4702 Signed-off-by: Rich Megginson --- tests/tests_default_reboot.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/tests_default_reboot.yml b/tests/tests_default_reboot.yml index a578b36d..0c90f4f3 100644 --- a/tests/tests_default_reboot.yml +++ b/tests/tests_default_reboot.yml @@ -37,6 +37,8 @@ - name: Check parameters in conf file command: grep '^{{ item.param }} {{ item.value }}$' /etc/kdump.conf changed_when: false + # not really invalid - see https://github.com/ansible/ansible-lint/issues/4702 + # noqa jinja[invalid] loop: "{{ params + (is_el9 | ternary(el9_params, not_el9_params)) }}" vars: params: @@ -90,6 +92,8 @@ - name: Check parameters in conf file command: grep '^{{ item.param }} {{ item.value }}$' /etc/kdump.conf changed_when: false + # not really invalid - see https://github.com/ansible/ansible-lint/issues/4702 + # noqa jinja[invalid] loop: "{{ params + (is_el9 | ternary(el9_params, [])) }}" vars: el9_params: