Ignore cron calling the job with sh.
This commit is contained in:
parent
08e64f1c97
commit
399396bfc3
@ -6,7 +6,7 @@
|
|||||||
- name: Miner | Facts | System | Global
|
- name: Miner | Facts | System | Global
|
||||||
set_fact:
|
set_fact:
|
||||||
file_server: 'ling@leet'
|
file_server: 'ling@leet'
|
||||||
check_alive_start: "[[ `ps -ef | grep -v 'grep' | grep -v $$ | grep -c '"
|
check_alive_start: "[[ `ps -ef | grep -v 'grep' | grep -v '/bin/sh -c' | grep -v $$ | grep -c '"
|
||||||
check_alive_end: "'` == '0' ]] &&"
|
check_alive_end: "'` == '0' ]] &&"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user