Skip to content

Commit

Permalink
ci: Add supported_ansible_also to .ansible-lint
Browse files Browse the repository at this point in the history
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 linux-system-roles/auto-maintenance#341
for more information.

Signed-off-by: Rich Megginson <[email protected]>
  • Loading branch information
richm committed Jun 5, 2024
1 parent f36baab commit af20162
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ mock_modules:
- community.general.ini_file
mock_roles:
- linux-system-roles.tlog
supported_ansible_also:
- "2.14.0"

0 comments on commit af20162

Please sign in to comment.