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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
56dda439
Unverified
Commit
56dda439
authored
3 years ago
by
cyril-corbon
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[validate-container-engine] check if kubelet is present was not working (#8679)
Signed-off-by:
Cyril Corbon
<
corboncyril@gmail.com
>
parent
34fec09f
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/container-engine/validate-container-engine/tasks/main.yml
+6
-12
6 additions, 12 deletions
...container-engine/validate-container-engine/tasks/main.yml
with
6 additions
and
12 deletions
roles/container-engine/validate-container-engine/tasks/main.yml
+
6
−
12
View file @
56dda439
...
@@ -80,14 +80,12 @@
...
@@ -80,14 +80,12 @@
apply
:
apply
:
tags
:
tags
:
-
pre-remove
-
pre-remove
when
:
when
:
kubelet_systemd_unit_exists.stat.exists
-
kubelet_systemd_unit_exists
-
name
:
Stop kubelet
-
name
:
Stop kubelet
service
:
service
:
name
:
kubelet
name
:
kubelet
state
:
stopped
state
:
stopped
when
:
when
:
kubelet_systemd_unit_exists.stat.exists
-
kubelet_systemd_unit_exists
-
name
:
Remove Containerd
-
name
:
Remove Containerd
import_role
:
import_role
:
name
:
container-engine/containerd
name
:
container-engine/containerd
...
@@ -109,14 +107,12 @@
...
@@ -109,14 +107,12 @@
apply
:
apply
:
tags
:
tags
:
-
pre-remove
-
pre-remove
when
:
when
:
kubelet_systemd_unit_exists.stat.exists
-
kubelet_systemd_unit_exists
-
name
:
Stop kubelet
-
name
:
Stop kubelet
service
:
service
:
name
:
kubelet
name
:
kubelet
state
:
stopped
state
:
stopped
when
:
when
:
kubelet_systemd_unit_exists.stat.exists
-
kubelet_systemd_unit_exists
-
name
:
Remove Docker
-
name
:
Remove Docker
import_role
:
import_role
:
name
:
container-engine/docker
name
:
container-engine/docker
...
@@ -137,14 +133,12 @@
...
@@ -137,14 +133,12 @@
apply
:
apply
:
tags
:
tags
:
-
pre-remove
-
pre-remove
when
:
when
:
kubelet_systemd_unit_exists.stat.exists
-
kubelet_systemd_unit_exists
-
name
:
Stop kubelet
-
name
:
Stop kubelet
service
:
service
:
name
:
kubelet
name
:
kubelet
state
:
stopped
state
:
stopped
when
:
when
:
kubelet_systemd_unit_exists.stat.exists
-
kubelet_systemd_unit_exists
-
name
:
Remove CRI-O
-
name
:
Remove CRI-O
import_role
:
import_role
:
name
:
container-engine/cri-o
name
:
container-engine/cri-o
...
...
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