dest lives in 4 different places depending on exeuction type (#62444)

This commit is contained in:
James Powis 2019-10-09 08:20:08 -06:00 committed by Ganesh Nalawade
parent d336a14da6
commit d4ad541eee

View file

@ -103,7 +103,7 @@ class ActionModule(_ActionModule):
result['msg'] = copy_result.get('msg')
return
result['backup_path'] = copy_result['dest']
result['backup_path'] = dest
if copy_result.get('changed', False):
result['changed'] = copy_result['changed']