mirror of
https://github.com/ansible/awx.git
synced 2026-03-22 19:35:02 -02:30
Force a flush of the file object prior to closing it when running tasks
This commit is contained in:
@@ -404,6 +404,7 @@ class BaseTask(Task):
|
|||||||
except OSError:
|
except OSError:
|
||||||
pass
|
pass
|
||||||
try:
|
try:
|
||||||
|
stdout_handle.flush()
|
||||||
stdout_handle.close()
|
stdout_handle.close()
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user