diff options
author | Brian Coca <brian.coca+git@gmail.com> | 2015-07-26 12:21:38 -0400 |
---|---|---|
committer | Brian Coca <brian.coca+git@gmail.com> | 2015-07-26 12:22:22 -0400 |
commit | 0b6fadaad7d6ba173e844af0d3a7d3147eb5d5fd (patch) | |
tree | b1c1c10d0b359e5ebc00617971ec2df0050f426a /lib/ansible/utils/display.py | |
parent | d11e07a0e5bbec82bde38920b98a61dbe5ac63c0 (diff) | |
download | ansible-0b6fadaad7d6ba173e844af0d3a7d3147eb5d5fd.tar.gz |
started implementing diff
diff now works with template
also fixed check mode for template and copy
Diffstat (limited to 'lib/ansible/utils/display.py')
-rw-r--r-- | lib/ansible/utils/display.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/ansible/utils/display.py b/lib/ansible/utils/display.py index 42ebd1a90f..fa16b7af05 100644 --- a/lib/ansible/utils/display.py +++ b/lib/ansible/utils/display.py @@ -34,6 +34,11 @@ from ansible.errors import AnsibleError from ansible.utils.color import stringc from ansible.utils.unicode import to_bytes + + +# These are module level as we currently fork and serialize the whole process and locks in the objects don't play well with that +debug_lock = Lock() + #TODO: make this a logging callback instead if C.DEFAULT_LOG_PATH: path = C.DEFAULT_LOG_PATH @@ -47,7 +52,6 @@ if C.DEFAULT_LOG_PATH: else: logger = None -debug_lock = Lock() class Display: |