From c2460a245f890f498399a342892a6bc62ef54f32 Mon Sep 17 00:00:00 2001 From: Brett Logan Date: Sun, 16 Apr 2023 23:32:42 -0400 Subject: [PATCH] Update ansible-lint regex Signed-off-by: Brett Logan --- test/inspec/super-linter/controls/super_linter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/inspec/super-linter/controls/super_linter.rb b/test/inspec/super-linter/controls/super_linter.rb index ca419aff..3c78f6a3 100644 --- a/test/inspec/super-linter/controls/super_linter.rb +++ b/test/inspec/super-linter/controls/super_linter.rb @@ -92,7 +92,7 @@ control "super-linter-installed-commands" do linters = [ { linter_name: "actionlint"}, - { linter_name: "ansible-lint"}, + { linter_name: "ansible-lint", expected_stdout_regex: /(.*)/}, { linter_name: "arm-ttk", version_command: "grep -iE 'version' '/usr/bin/arm-ttk' | xargs"}, { linter_name: "asl-validator", expected_exit_status: 1}, # expect a return code = 1 because this linter doesn't support a "get linter version" command { linter_name: "bash-exec", expected_exit_status: 1}, # expect a return code = 1 because this linter doesn't support a "get linter version" command