remote_src and template_host for template module not working for me

Hi ,

1. I have multiple json as well as j2 files , Need to generate multiple config files by using template module.
2. In fetch module . fetch the files with including host name in path . How we can avoid this hostname in path ?
Ex:
- name: fetch tar file from remote to local machine
fetch:
src: /tmp/tts_config.tar
dest: /tmp/
flat: ture

and files are present in following path in controller
/tmp/namwrncld1135.nam.nsroot.net/tmp/tts_config.tar
namwrncld1135.nam.nsroot.net is remote machine
Can anyone please help here. so that i greatfull to u .

Thanks

It eludes me why you don't install rsync on the Ansible controller and use synchronize module as recommended.

Regards
         Racke