Hi Jordan,

I have tried the suggested code but still have the same issue and it is not
creating the file or updating the file content.

- win_template:
   src: config.j2
    dest: D:\config1.json


Thanks and Regards,
Shyam

On Tue, Apr 28, 2020 at 2:52 PM Jordan Borean <jborea...@gmail.com> wrote:

> Remove remote_src: true as it's expecting you to supply src for the copy.
> Better yet use win_template instead like
>
> - win_template:
>    src: config.j2
>     dest: D:\config1.json
>
>
> --
> 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 ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/8c3816e3-703c-490a-a591-ed7256bf0c59%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/8c3816e3-703c-490a-a591-ed7256bf0c59%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAFXETnrs6%2B8%2B%2BiRLiL3%3DCZNfh7smjFM%3DGmca%3D5PgaP81pfhSNw%40mail.gmail.com.

Reply via email to