Thanks, that's good to know. Would it be worth the effort to add something like, "Modules for remote nodes running on Windows must be written as powershell scripts and be run with the ansible "script" module through Windows powershell remoting." or something like that in the documentation? It seems like it would fit nicely here <http://docs.ansible.com/list_of_windows_modules.html>and/or here <http://docs.ansible.com/intro_windows.html#what-modules-are-available>? That information maybe documented elsewhere but if so I missed it. Just a thought.
Jonathan On Thu, Dec 11, 2014 at 7:01 PM, Michael DeHaan <mich...@ansible.com> wrote: > > They are required to be in powershell (unfortunately for those that don't > like Powershell! maybe fortunate for those that do - as it does provide a > very strong 'standard library' of stuff to do on Windows that Microsoft > maintains for us - so ... that's a win). This is so we don't have to > install any agents on the remote machines, and they work using Windows > powershell remoting. > > > > On Thu, Dec 11, 2014 at 5:43 PM, skinnedknuckles < > andersonjonatha...@gmail.com> wrote: >> >> Are modules intended to run on windows remote nodes required to be >> written in powershell script or is there a way to turn python code into a >> "windows" module? >> >> -- >> 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/aa18830a-30d9-483e-b446-e0562491ddd7%40googlegroups.com >> <https://groups.google.com/d/msgid/ansible-project/aa18830a-30d9-483e-b446-e0562491ddd7%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 a topic in the > Google Groups "Ansible Project" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/ansible-project/hoD6YHH3Ppw/unsubscribe. > To unsubscribe from this group and all its topics, 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/CA%2BnsWgymdeL-_%2BiVSDitRULqVEb2k4LH_Ds-RWpbGcTDFk6FrA%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgymdeL-_%2BiVSDitRULqVEb2k4LH_Ds-RWpbGcTDFk6FrA%40mail.gmail.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/CAC-wQgHvZsvJTtk0e_th16QzmLZfOY34CAYOEuDzRdiX-gOJ%3DA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.