build: upgrade to Ansible 14 (#13549)

Raise ansible-core support to 2.21 for maintained upstream support through November 2027. This requires Python 3.12-3.14 on control nodes and 3.9-3.14 on targets.

Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
This commit is contained in:
ERIK
2026-09-26 15:18:27 +00:00
committed by GitHub
parent baf68247eb
commit 2dbb33a3d7
9 changed files with 27 additions and 19 deletions
+5 -4
View File
@@ -34,12 +34,13 @@ repos:
- id: astl
- repo: https://github.com/ansible/ansible-lint
rev: v25.11.0
rev: v26.9.0
hooks:
- id: ansible-lint
language_version: python3
stages: [manual]
additional_dependencies:
- ansible-core>=2.18.0,<2.19.0
- ansible-core>=2.21.0,<2.22.0
- jmespath==1.0.1
- netaddr==1.3.0
- distlib
@@ -58,7 +59,7 @@ repos:
name: Build and install kubernetes-sigs.kubespray Ansible collection
language: python
additional_dependencies:
- ansible-core>=2.18.0,<2.19.0
- ansible-core>=2.21.0,<2.22.0
- distlib
entry: tests/scripts/collection-build-install.sh
pass_filenames: false
@@ -100,7 +101,7 @@ repos:
name: Update static files referencing default kubespray values
language: python
additional_dependencies:
- ansible-core>=2.18.0,<2.19.0
- ansible-core>=2.21.0,<2.22.0
entry: scripts/propagate_ansible_variables.yml
pass_filenames: false