On Tue, 25 Feb 2020 23:24:14 -0800 (PST) Janmejaya Swain <[email protected]> wrote:
> 2. In fetch module . fetch the files with including host name in path . > How we can avoid this hostname in path ? > > - name: fetch tar file from remote to local machine > fetch: > src: /tmp/tts_config.tar > dest: /tmp/ > flat: ture Fix the truthy. See https://docs.ansible.com/ansible/latest/modules/fetch_module.html#parameters flat: true HTH, -vlado -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/20200226101213.1dcb7f89%40gmail.com.
pgpZeKHR9lpTx.pgp
Description: OpenPGP digital signature
