diff --git a/lib/ansible/callbacks.py b/lib/ansible/callbacks.py index d4bf2adf09..9b36df04f0 100644 --- a/lib/ansible/callbacks.py +++ b/lib/ansible/callbacks.py @@ -92,9 +92,9 @@ def log_flock(runner): pass else: try: - fcntl.lockf(LOG_LOCK, fcntl.LOCK_EX) + fcntl.lockf(LOG_LOCK, fcntl.LOCK_EX) except OSError: - pass + pass def log_unflock(runner):