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
cc9c376d
Unverified
Commit
cc9c376d
authored
2 years ago
by
Cristian Calin
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[validate-container-engine] add facts tag to tasks needed for vagrant jobs (#8678)
parent
018611f8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/container-engine/validate-container-engine/tasks/main.yml
+14
-0
14 additions, 0 deletions
...container-engine/validate-container-engine/tasks/main.yml
with
14 additions
and
0 deletions
roles/container-engine/validate-container-engine/tasks/main.yml
+
14
−
0
View file @
cc9c376d
...
...
@@ -6,18 +6,26 @@
get_checksum
:
no
get_mime
:
no
register
:
ostree
tags
:
-
facts
-
name
:
validate-container-engine | set is_ostree
set_fact
:
is_ostree
:
"
{{
ostree.stat.exists
}}"
tags
:
-
facts
-
name
:
Ensure kubelet systemd unit exists
stat
:
path
:
"
/etc/systemd/system/kubelet.service"
register
:
kubelet_systemd_unit_exists
tags
:
-
facts
-
name
:
Populate service facts
service_facts
:
tags
:
-
facts
-
name
:
Check if containerd is installed
find
:
...
...
@@ -31,6 +39,8 @@
-
/etc/systemd
-
/run/systemd
register
:
containerd_installed
tags
:
-
facts
-
name
:
Check if docker is installed
find
:
...
...
@@ -44,6 +54,8 @@
-
/etc/systemd
-
/run/systemd
register
:
docker_installed
tags
:
-
facts
-
name
:
Check if crio is installed
find
:
...
...
@@ -57,6 +69,8 @@
-
/etc/systemd
-
/run/systemd
register
:
crio_installed
tags
:
-
facts
-
name
:
Uninstall containerd
block
:
...
...
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