mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-10-29 22:03:22 -02:30
Merge pull request #13468 from VannTen/ansible_2_19
Upgrade to ansible-core 2.19
This commit is contained in:
+1
-1
@@ -1,2 +1,2 @@
|
||||
---
|
||||
requires_ansible: ">=2.18.0,<2.19.0"
|
||||
requires_ansible: ">=2.19.0,<2.20.0"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
become: false
|
||||
run_once: true
|
||||
vars:
|
||||
minimal_ansible_version: 2.18.0
|
||||
maximal_ansible_version: 2.19.0
|
||||
minimal_ansible_version: 2.19.0
|
||||
maximal_ansible_version: 2.20.0
|
||||
tags: always
|
||||
tasks:
|
||||
- name: "Check {{ minimal_ansible_version }} <= Ansible version < {{ maximal_ansible_version }}"
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
ansible==11.13.0
|
||||
ansible==12.3.0
|
||||
# Prevented passlib version conflicts
|
||||
bcrypt<6
|
||||
# Needed for community.crypto module
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
owner: "{{ download.owner | default(omit) }}"
|
||||
mode: "0755"
|
||||
state: directory
|
||||
recurse: true
|
||||
|
||||
- name: Download_file | Create local cache directory
|
||||
file:
|
||||
|
||||
@@ -34,17 +34,6 @@
|
||||
tags:
|
||||
- bootstrap_os
|
||||
|
||||
# Remove this after ansible-core >= 2.19.0
|
||||
# See https://github.com/kubernetes-sigs/kubespray/pull/12138#issuecomment-3019304574
|
||||
- name: Install python3-libdnf5 on Fedora >= 41
|
||||
raw: >
|
||||
dnf install --assumeyes python3-libdnf5
|
||||
become: true
|
||||
retries: "{{ pkg_install_retries }}"
|
||||
when:
|
||||
- ansible_distribution == "Fedora"
|
||||
- ansible_distribution_major_version | int >= 41
|
||||
|
||||
- name: Manage packages
|
||||
package:
|
||||
name: "{{ item.packages }}"
|
||||
|
||||
Reference in New Issue
Block a user