Make the check alive command a command. Further try to make the config file obvious to read.

This commit is contained in:
2021-02-15 19:06:32 -06:00
parent fdd1db85e5
commit eb801e8524
2 changed files with 32 additions and 8 deletions

View File

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