Hi@akhtar,
You can use the command module to move your files. But before running that task, you should check if the file is present or not as shown below.
- name: state check
stat: path=/path/to/foo
register: foo_stat
- name: Move foo to bar
command: mv /path/to/foo /path/to/bar
when: foo_stat.stat.exists