Clean up temp file left behind by assemble module

This commit is contained in:
Daniel Koch 2013-10-30 20:24:03 -04:00
parent 98b23de9ab
commit fc8b88995a

View file

@ -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