On Saturday, October 27, 2018 at 6:14:04 PM UTC+5:30, Jordan Borean wrote: > > You are running the module over SSH with the wrong shell plugin. Ensure > this is run with either ‘ansible_connection: winrm’ or ‘ansible_connection: > psrp’ so the PowerShell modules work properly.
Hi, Sorry for late response. Below is my host file:- [win] localhost ansible_connection=local [win:vars] ansible_connection=winrm ansible_ssh_port=5986 ansible_ssh_user=Administrator ansible_ssh_pass={{ }} ansible_winrm_server_cert_validation=ignore Please see and tell what i am doing wrong. -- 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/86e66106-a516-48be-ab21-b42d0d5c08c1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.