Skip to content

Kill or Stop ansible job #40

@mmumshad

Description

@mmumshad

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions