Pass signals as strings instead of using python constants
which depend on host system and have different types on py27 vs py3.
Change-Id: Ib8d7136bb3aed125a987678672142ce72e33af6f
Closes-bug: #1836736
This patch makes content of GREP variables more readable
and clear. Also it helps to protect users/developers from
missing brackets in GREP variables.
* Use `grep -v grep` to to filter grep from ps output.
Change-Id: I8455a347912d853b5245e654781f8f117d340298
added ansible modules:
kill - allows to send signals to processes found by ps|grep
freeze - allows to freeze processes for specified seconds
now services should define only GREP variable that will be
used to check whether service processes are present on node and
send SIGKILL/SIGSTOP/SIGCONT to service processes.
Change-Id: Ifb0a744058c599bd635cda9a367f6f56526706a7