From 27d32506890792ceb1e8af112c82db4a8ae942f8 Mon Sep 17 00:00:00 2001 From: "Jonas L." Date: Mon, 27 Oct 2025 10:40:45 +0100 Subject: [PATCH] feat!: drop support for ansible-core 2.17 (#713) ##### SUMMARY Drop support for ansible-core 2.17 which will be EOL in November 2025. https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix --- .azure-pipelines/azure-pipelines.yml | 34 ------------------- .pre-commit-config.yaml | 2 +- .../fragments/drop-ansible-core-2.17.yml | 2 ++ meta/runtime.yml | 2 +- requirements-dev.txt | 2 +- 5 files changed, 5 insertions(+), 37 deletions(-) create mode 100644 changelogs/fragments/drop-ansible-core-2.17.yml diff --git a/.azure-pipelines/azure-pipelines.yml b/.azure-pipelines/azure-pipelines.yml index e2baca6..c2ae0f5 100644 --- a/.azure-pipelines/azure-pipelines.yml +++ b/.azure-pipelines/azure-pipelines.yml @@ -67,16 +67,6 @@ stages: - name: Sanity test: 2.18/sanity - - stage: Sanity_2_17 - displayName: Sanity 2.17 - dependsOn: [] - jobs: - - template: templates/matrix.yml - parameters: - targets: - - name: Sanity - test: 2.17/sanity - ### Units - stage: Units_devel displayName: Units devel @@ -108,16 +98,6 @@ stages: - name: (py3.11) test: 2.18/units/3.11 - - stage: Units_2_17 - displayName: Units 2.17 - dependsOn: [] - jobs: - - template: templates/matrix.yml - parameters: - targets: - - name: (py3.10) - test: 2.17/units/3.10 - ## Integration - stage: Integration_devel displayName: Integration devel @@ -152,17 +132,6 @@ stages: - name: (py3.11) test: 2.18/integration/3.11 - - stage: Integration_2_17 - displayName: Integration 2.17 - dependsOn: [] - jobs: - - template: templates/matrix.yml - parameters: - groups: [1, 2, 3] - targets: - - name: (py3.10) - test: 2.17/integration/3.10 - ### Finally - stage: Summary condition: succeededOrFailed() @@ -170,14 +139,11 @@ stages: - Sanity_devel - Sanity_2_19 - Sanity_2_18 - - Sanity_2_17 - Units_devel - Units_2_19 - Units_2_18 - - Units_2_17 - Integration_devel - Integration_2_19 - Integration_2_18 - - Integration_2_17 jobs: - template: templates/coverage.yml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5838be7..fffb748 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: entry: env HCLOUD_TOKEN= python3 -m ansiblelint -v --force-color args: [--offline] additional_dependencies: - - ansible-core>=2.17 + - ansible-core>=2.18 - netaddr - repo: local diff --git a/changelogs/fragments/drop-ansible-core-2.17.yml b/changelogs/fragments/drop-ansible-core-2.17.yml new file mode 100644 index 0000000..a67109d --- /dev/null +++ b/changelogs/fragments/drop-ansible-core-2.17.yml @@ -0,0 +1,2 @@ +breaking_changes: + - Drop support for ansible-core 2.17 diff --git a/meta/runtime.yml b/meta/runtime.yml index 72a24e7..0f162d4 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -1,4 +1,4 @@ -requires_ansible: ">=2.17.0" +requires_ansible: ">=2.18.0" action_groups: all: diff --git a/requirements-dev.txt b/requirements-dev.txt index 1019bb3..f2ec473 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,4 @@ -ansible-core>=2.17 +ansible-core>=2.18 # Third party collections requirements netaddr