mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Clean up temp file left behind by assemble module
This commit is contained in:
parent
078aaa95a2
commit
dcdce838cf
1 changed files with 2 additions and 0 deletions
|
@ -137,6 +137,8 @@ def main():
|
||||||
shutil.copy(path, dest)
|
shutil.copy(path, dest)
|
||||||
changed = True
|
changed = True
|
||||||
|
|
||||||
|
os.remove(path)
|
||||||
|
|
||||||
file_args = module.load_file_common_arguments(module.params)
|
file_args = module.load_file_common_arguments(module.params)
|
||||||
changed = module.set_file_attributes_if_different(file_args, changed)
|
changed = module.set_file_attributes_if_different(file_args, changed)
|
||||||
# Mission complete
|
# Mission complete
|
||||||
|
|
Loading…
Reference in a new issue