mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-10-31 06:26:19 -02:30
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user