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 <rmeggins@redhat.com>
  • Loading branch information
richm committed Jun 5, 2024
1 parent b7e507f commit 64c4053
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 @@ -28,3 +28,5 @@ mock_modules:
- ansible.windows.win_shell
mock_roles:
- linux-system-roles.ad_integration
supported_ansible_also:
- "2.14.0"

0 comments on commit 64c4053

Please sign in to comment.