From 07ea6f508169b5e625c3d6fd90d80204f80eca80 Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Wed, 5 Jun 2024 14:07:48 -0600 Subject: [PATCH] ci: Add supported_ansible_also to .ansible-lint This fixes the breakage of ansible-test. We want to advertise support for ansible 2.14 since some of our collections will be supported for a long time on this version. The latest version of ansible-lint requires 2.15 in meta/runtime.yml, but it also adds support for a way to tell ansible-lint other versions which are acceptable, using the new `supported_ansible_also` configuration option in .ansible-lint With this fix, we can support both the latest version of ansible-test and ansible-lint. See https://github.com/linux-system-roles/auto-maintenance/pull/341 for more information. Signed-off-by: Rich Megginson --- .ansible-lint | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.ansible-lint b/.ansible-lint index 3db953a0..20e4fa86 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -26,3 +26,5 @@ mock_modules: - ansible.windows.win_shell mock_roles: - linux-system-roles.mssql +supported_ansible_also: + - "2.14.0"