Browse Source

Merge pull request #84 from rackn/init-system-fix

Test for a systemd service that should be up.
pull/88/head
Antoine Legrand 8 years ago
parent
commit
5e3af86c26
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/kubernetes/preinstall/tasks/main.yml

2
roles/kubernetes/preinstall/tasks/main.yml

@ -17,7 +17,7 @@
- name: "Identify init system"
shell: >
$(pgrep systemd > /dev/null && systemctl status > /dev/null);
$(pgrep systemd > /dev/null && systemctl status network > /dev/null);
if [ $? -eq 0 ] ; then
echo systemd;
else

Loading…
Cancel
Save