Ignore current script in check alive.
This commit is contained in:
parent
463748a73c
commit
381a8b9e5d
@ -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' ]] &&"
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user