From 3a6f941b2fa533276f4bdae636e5703c2cc959fc Mon Sep 17 00:00:00 2001 From: Wen Liang Date: Tue, 14 Mar 2023 19:39:33 -0400 Subject: [PATCH] ansible-lint: Define variable 'network_provider' to fix jinja[invalid] failure ansible-lint 6.x syntax check raises `jinja[invalid]` error on the mandatory variable 'network provider' because it is not defined. In order to fix the problem, define the 'network_provider' variable in the file .ansible-lint. The value of the variable is less important as long as it is reasonable which only meets the purpose of passing the ansible-lint 6.x syntax check. Signed-off-by: Wen Liang --- .ansible-lint | 1 + 1 file changed, 1 insertion(+) diff --git a/.ansible-lint b/.ansible-lint index de5376d..da229bd 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -2,6 +2,7 @@ profile: production extra_vars: test_playbook: tests_default.yml + network_provider: nm kinds: - yaml: "**/meta/collection-requirements.yml" - playbook: "**/tests/get_coverage.yml"