|
|
|
@ -95,7 +95,7 @@ def main():
|
|
|
|
|
add_file_common_args=True
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
changed=False
|
|
|
|
|
changed = False
|
|
|
|
|
pathmd5 = None
|
|
|
|
|
destmd5 = None
|
|
|
|
|
src = os.path.expanduser(module.params['src'])
|
|
|
|
@ -123,8 +123,7 @@ def main():
|
|
|
|
|
file_args = module.load_file_common_arguments(module.params)
|
|
|
|
|
changed = module.set_file_attributes_if_different(file_args, changed)
|
|
|
|
|
# Mission complete
|
|
|
|
|
module.exit_json(src=src, dest=dest, md5sum=destmd5,
|
|
|
|
|
changed=changed, msg="OK")
|
|
|
|
|
module.exit_json(src=src, dest=dest, md5sum=destmd5, changed=changed, msg="OK")
|
|
|
|
|
|
|
|
|
|
# this is magic, see lib/ansible/module_common.py
|
|
|
|
|
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
|
|
|
|
|