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
ec1073de
Commit
ec1073de
authored
9 years ago
by
Greg Althaus
Browse files
Options
Downloads
Patches
Plain Diff
Test for a systemd service that should be up.
parent
9e9aba4e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/kubernetes/preinstall/tasks/main.yml
+1
-1
1 addition, 1 deletion
roles/kubernetes/preinstall/tasks/main.yml
with
1 addition
and
1 deletion
roles/kubernetes/preinstall/tasks/main.yml
+
1
−
1
View file @
ec1073de
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
-
name
:
"
Identify
init
system"
-
name
:
"
Identify
init
system"
shell
:
>
shell
:
>
$(pgrep systemd > /dev/null && systemctl status > /dev/null);
$(pgrep systemd > /dev/null && systemctl status
network
> /dev/null);
if [ $? -eq 0 ] ; then
if [ $? -eq 0 ] ; then
echo systemd;
echo systemd;
else
else
...
...
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