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