From eabec5888c6fd0e7ccea25ce2d3e1e0ad57284a5 Mon Sep 17 00:00:00 2001 From: Mandar Kulkarni Date: Fri, 26 Jul 2024 12:18:17 -0700 Subject: [PATCH] Bump the ansible-lint version to 24.7.0 and ansible version to min 2.15 (#114) * add minimum version for ansible-lint to 24.7.0 and bump ansible-core min required version --- .github/workflows/linters.yml | 4 ++-- README.md | 2 +- changelogs/fragments/114-bump-ansible-lint-version.yml | 5 +++++ meta/runtime.yml | 2 +- tox.ini | 2 +- 5 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 changelogs/fragments/114-bump-ansible-lint-version.yml diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 58ec1e61..ce760fbe 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -16,5 +16,5 @@ jobs: steps: - uses: ansible-network/github_actions/.github/actions/checkout_dependency@main - - name: Run ansible-lint - uses: ansible/ansible-lint@v6.21.0 + - name: run-ansible-lint + uses: ansible/ansible-lint@v24.7.0 diff --git a/README.md b/README.md index 6605c238..68d1d5ac 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ The collection includes a variety of Ansible roles, playbooks, and rulebooks to ## Ansible version compatibility -This collection has been tested against following Ansible versions: **>=2.14.0**. +This collection has been tested against following Ansible versions: **>=2.15.0**. ## Included content diff --git a/changelogs/fragments/114-bump-ansible-lint-version.yml b/changelogs/fragments/114-bump-ansible-lint-version.yml new file mode 100644 index 00000000..3099991b --- /dev/null +++ b/changelogs/fragments/114-bump-ansible-lint-version.yml @@ -0,0 +1,5 @@ +--- +minor_changes: + - Bump version of ansible-lint to minimum 24.7.0 (https://github.com/redhat-cop/cloud.aws_ops/pull/114). +breaking_changes: + - Bump minimum version requirement for ansible-core to 2.15 (https://github.com/redhat-cop/cloud.aws_ops/pull/114). diff --git a/meta/runtime.yml b/meta/runtime.yml index be99ccf4..898ad8ff 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -1,2 +1,2 @@ --- -requires_ansible: '>=2.14.0' +requires_ansible: '>=2.15.0' diff --git a/tox.ini b/tox.ini index ac04eaae..52670ae9 100644 --- a/tox.ini +++ b/tox.ini @@ -16,7 +16,7 @@ commands = [testenv:ansible-lint] deps = - ansible-lint==6.21.0 + ansible-lint >= 24.7.0 changedir = {toxinidir} commands = ansible-lint