parent
1e85facf36
commit
a26a2841ff
1 changed files with 1 additions and 0 deletions
|
@ -2538,6 +2538,7 @@ class AnsibleModule(object):
|
|||
# sadly there are some situations where we cannot ensure atomicity, but only if
|
||||
# the user insists and we get the appropriate error we update the file unsafely
|
||||
try:
|
||||
out_dest = in_src = None
|
||||
try:
|
||||
out_dest = open(dest, 'wb')
|
||||
in_src = open(src, 'rb')
|
||||
|
|
Loading…
Reference in a new issue