Have you looked at this? http://docs.ansible.com/ansible/intro_windows.html


On Wednesday, March 2, 2016 at 9:40:53 AM UTC-5, Akash John wrote:
>
> Hi Team,
>
> I would like to execute a command on a remote windows host as we are 
> performing on Linux Machines *ansible webserver -s -m shell -a 
> "/etc/init.d/httpd status" -u user1 -k*  
>
> Some could you please help me how can we execute the command on Windows 
> remote host. Most probably we need to find a module to replace shell on the 
> above mentioned command line. 
>
> Could you please guide me how can we achieve this?
>
> Thanks,
> Akash John 
>

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/5a917f99-01af-406d-8605-ff91b0f365de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to