mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 19:58:07 +03:00
preinstall: remove old Fedora task
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
55b03a41b2
commit
cf1d9f5612
@@ -25,21 +25,6 @@
|
|||||||
- ansible_distribution in ["CentOS","RedHat","OracleLinux"]
|
- ansible_distribution in ["CentOS","RedHat","OracleLinux"]
|
||||||
- not is_fedora_coreos
|
- not is_fedora_coreos
|
||||||
|
|
||||||
- name: Install python-dnf for latest RedHat versions
|
|
||||||
command: dnf install -y python-dnf yum
|
|
||||||
register: dnf_task_result
|
|
||||||
until: dnf_task_result is succeeded
|
|
||||||
retries: 4
|
|
||||||
delay: "{{ retry_stagger | random + 3 }}"
|
|
||||||
when:
|
|
||||||
- ansible_distribution == "Fedora"
|
|
||||||
- ansible_distribution_major_version|int > 21
|
|
||||||
- ansible_distribution_major_version|int <= 29
|
|
||||||
- not is_fedora_coreos
|
|
||||||
changed_when: False
|
|
||||||
tags:
|
|
||||||
- bootstrap-os
|
|
||||||
|
|
||||||
- name: Install python3-dnf for latest RedHat versions
|
- name: Install python3-dnf for latest RedHat versions
|
||||||
command: dnf install -y python3-dnf
|
command: dnf install -y python3-dnf
|
||||||
register: dnf_task_result
|
register: dnf_task_result
|
||||||
|
|||||||
Reference in New Issue
Block a user