1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #4736 from dmkoch/assemble-temp-file-cleanup

Clean up temp file left behind by assemble module
This commit is contained in:
Michael DeHaan 2013-10-31 14:50:28 -07:00
commit 3a0d67024c

View file

@ -137,6 +137,8 @@ def main():
shutil.copy(path, dest)
changed = True
os.remove(path)
file_args = module.load_file_common_arguments(module.params)
changed = module.set_file_attributes_if_different(file_args, changed)
# Mission complete