Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
d332a254
Commit
d332a254
authored
5 years ago
by
yelhouti
Committed by
Kubernetes Prow Robot
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
install python3 instead of python2 for fedora >= 30 fixes 5056, fixes 4802 (#5111)
parent
f3c072f6
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/kubernetes/preinstall/tasks/0070-system-packages.yml
+15
-0
15 additions, 0 deletions
roles/kubernetes/preinstall/tasks/0070-system-packages.yml
with
15 additions
and
0 deletions
roles/kubernetes/preinstall/tasks/0070-system-packages.yml
+
15
−
0
View file @
d332a254
...
...
@@ -26,6 +26,21 @@
when
:
-
ansible_distribution == "Fedora"
-
ansible_distribution_major_version|int >
21
-
ansible_distribution_major_version|int <=
29
-
not is_atomic
changed_when
:
False
tags
:
-
bootstrap-os
-
name
:
Install python3-dnf for latest RedHat versions
command
:
dnf install -y python3-dnf
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 >=
30
-
not is_atomic
changed_when
:
False
tags
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment