ansible-runner icon indicating copy to clipboard operation
ansible-runner copied to clipboard

is-alive and stop methods strange behavior

Open Ladas opened this issue 7 years ago • 3 comments

It seems like is-alive gives return code 0 while the job is running and 1 once it's done. Is that the expected behavior?

But stop gives always return code 1, there is no error (even if I use -vvvvv or --debug), and the process keeps running. But after a current play finishes, it seems to stop (output file is blank and rc is missing). Is waiting till the current play finishes? It would be good to fill in the rc at least.

If stop is a graceful exit, could we add also kill method?

Ladas avatar Jul 27 '18 13:07 Ladas

ping @matburt

Ladas avatar Jul 27 '18 13:07 Ladas

I think something is totally borked with start / is-alive / stop.

I'll take a look

matburt avatar Jul 30 '18 18:07 matburt

@matburt was this ever addressed?

chessbyte avatar Oct 07 '20 14:10 chessbyte