Merge branch 'master' into etcd-sync
commit
32877bdc7b
|
@ -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…
Reference in New Issue