From cc05dd4d140bd93b36d8894d2a14fcc26e5739f3 Mon Sep 17 00:00:00 2001 From: Ali Afsharzadeh Date: Tue, 10 Feb 2026 17:48:07 +0330 Subject: [PATCH] Upgrade ansible from 10.7.0 to 11.13.0 (#12903) Signed-off-by: Ali Afsharzadeh --- docs/ansible/ansible.md | 6 +++--- meta/runtime.yml | 2 +- playbooks/ansible_version.yml | 4 ++-- requirements.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/ansible/ansible.md b/docs/ansible/ansible.md index 6bcf9daab..53ea60e9a 100644 --- a/docs/ansible/ansible.md +++ b/docs/ansible/ansible.md @@ -30,9 +30,9 @@ If the latest version supported according to pip is 6.7.0 it means you are runni Based on the table below and the available python version for your ansible host you should choose the appropriate ansible version to use with kubespray. -| Ansible Version | Python Version | -|-----------------|----------------| -| >= 2.17.3 | 3.10-3.12 | +| Ansible Version | Python Version | +|-------------------|----------------| +| >=2.18.0, <2.19.0 | 3.11-3.13 | ## Customize Ansible vars diff --git a/meta/runtime.yml b/meta/runtime.yml index b1198d777..f4ba75a82 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -1,2 +1,2 @@ --- -requires_ansible: ">=2.17.3" +requires_ansible: ">=2.18.0,<2.19.0" diff --git a/playbooks/ansible_version.yml b/playbooks/ansible_version.yml index a07b401e6..9dfdae8cc 100644 --- a/playbooks/ansible_version.yml +++ b/playbooks/ansible_version.yml @@ -5,8 +5,8 @@ become: false run_once: true vars: - minimal_ansible_version: 2.17.3 - maximal_ansible_version: 2.18.0 + minimal_ansible_version: 2.18.0 + maximal_ansible_version: 2.19.0 tags: always tasks: - name: "Check {{ minimal_ansible_version }} <= Ansible version < {{ maximal_ansible_version }}" diff --git a/requirements.txt b/requirements.txt index 13fafcedc..77a5b8b0c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -ansible==10.7.0 +ansible==11.13.0 # Needed for community.crypto module cryptography==46.0.4 # Needed for jinja2 json_query templating