mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
started implementing diff
diff now works with template also fixed check mode for template and copy
This commit is contained in:
parent
d11e07a0e5
commit
0b6fadaad7
8 changed files with 71 additions and 52 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue