ansible/utilities/logic
David Shrewsbury 4e239f6ce0 Use os.rename() in async_wrapper
Because the async_status module will read from the same file that
the async_wrapper module is writing, it's possible that the file
may not be fully synced during a read, causing spurious failures.
Use a temp file to do an atomic operation on the file. We can't
use atomic_move() here as that doesn't work properly under async.

Also, let's not read concurrently from the same file the subprocess
is writing to. Instead, capture stdout/stderr via PIPE and write to
the file to avoid nasty races.
2016-06-29 09:53:47 -04:00
..
__init__.py added missing init.py for utilities modules 2014-11-05 15:49:39 -05:00
assert.py Proper author info for all remaining modules 2015-06-15 15:53:30 -04:00
async_status.py Fixing compile time errors irt (, e => as e, print(), ocat now 0o not 0) exception handling for Python 3 (#3851) 2016-06-13 11:40:13 -07:00
async_wrapper.py Use os.rename() in async_wrapper 2016-06-29 09:53:47 -04:00
debug.py documented new verbosity option 2016-02-18 07:01:53 -08:00
fail.py Proper author info for all remaining modules 2015-06-15 15:53:30 -04:00
include_vars.py add documentation stating that JSON files can be loaded with include_vars 2015-10-15 15:06:32 -04:00
pause.py Add missing GPLv3 License header 2015-07-03 22:57:53 -05:00
set_fact.py clarified set_fact function 2015-11-17 10:05:15 -08:00
wait_for.py Fix wait_for on python < 2.6 (#3790) (#3973) 2016-06-17 10:04:26 -04:00