Ignore current script in check alive.

This commit is contained in:
Hyperling 2021-02-15 19:13:47 -06:00
parent 463748a73c
commit 381a8b9e5d

View File

@ -6,7 +6,7 @@
- name: Miner | Facts | System | Global
set_fact:
file_server: 'ling@leet'
check_alive_start: "[[ `ps -ef | grep -v 'grep' | grep -c '"
check_alive_start: "[[ `ps -ef | grep -v 'grep' | grep -v $$ | grep -c '"
check_alive_end: "'` == '0' ]] &&"