[2.7] Clean up after ansible-connection if failure occurred in start() (#45930)

* [2.7] Clean up after ansible-connection if failure occurred in start() (#45929)
(cherry picked from commit 0d143ed)

Co-authored-by: Nathaniel Case <this.is@nathanielca.se>

* Add changelog fragment
pull/45713/merge
Nathaniel Case 6 years ago committed by Toshio Kuratomi
parent cf28d22211
commit b1b93c7a22

@ -271,6 +271,8 @@ def main():
if rc == 0:
process.run()
else:
process.shutdown()
sys.exit(rc)

@ -0,0 +1,2 @@
bugfixes:
- ansible-connection - Clean up socket files if playbook aborted before connection is started.
Loading…
Cancel
Save