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

Kill or Stop ansible job

Open mmumshad opened this issue 9 years ago • 0 comments

Is there a way to kill or stop an Ansible job in execution? Simulate a CTRL + C ?

I tried killing the child exec process using the following, but it doesn't work:

child.kill();
child.kill('SIGINT');
child.kill('SIGTERM');
child.kill('SIGKILL');
child.kill('SIGQUIT');
child.kill('SIGSTOP');

Any ideas?

mmumshad avatar Oct 27 '16 03:10 mmumshad