Hi Jake,

Seems like the win_template module was readded 6 days back , are you
testing this in the latest devel branch ?


- Benno


On Thu, May 28, 2015 at 1:07 PM, Jake Dupuy <jake.du...@gmail.com> wrote:

> someone please help me out. I cannot get win_template or win_copy to work.
> I'm able to do a simple ipconfig test to confirm that ansible is working
> with windows I've got some powershell scripts that I need to have in a
> template with vars so I can put them on the windows box and run them. I've
> got a roles structure setup
>
> when I do this>>
> - name: check file dir
>   win_stat: path=C:\temp
>   register: win_test
>
> - name: debug
>   debug: var=win_test
>
> >>>output of the debug
> ok: [172.16.0.81] => {
>     "var": {
>         "win_test": {
>             "changed": false,
>             "invocation": {
>                 "module_args": "path=C:\\temp",
>                 "module_name": "win_stat"
>             },
>             "stat": {
>                 "exists": true,
>                 "isdir": true
>             }
>         }
>     }
> }
> >>>
>
> - name: copy template
>   win_template: dest=C:\temp src="{{ template_ps1 }}"
>
> >>>  but when I try and use the win_template I get:
> "ERROR: win_template is not a legal parameter in an Ansible task or
> handler"
>
> --
> 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 post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/210cc3a2-c28b-442d-9b86-df8cdd62f162%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/210cc3a2-c28b-442d-9b86-df8cdd62f162%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAFUV_d7b26BvYSrsMGkrTZHpdKm7thdMTtb59FP7LFN%3DP1NsCw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to