[ansible-project] Re: "/bin/sh: 1: powershell: not found\n"

2018-11-11 Thread Jordan Borean
There are a few things wrong with that inventory - Change the ansible_ssh_* variables to just ansible_*, e.g. ansible_ssh_port becomes ansible_port and so on - You are defining ansible_connection=winrm on the group but then override that with ansible_connection=local on the host

[ansible-project] Re: "/bin/sh: 1: powershell: not found\n"

2018-11-10 Thread Varun Chopra
You're defining localhost under the win hostgroup and setting its connection to local. I think you should look up Ansible guides first. I dont mean any offense. On Saturday, November 10, 2018 at 6:42:12 PM UTC+5:30, Akshay Kaushik wrote: > > > > On Saturday, October 27, 2018 at 6:14:04 PM

[ansible-project] Re: "/bin/sh: 1: powershell: not found\n"

2018-11-10 Thread Akshay Kaushik
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

[ansible-project] Re: "/bin/sh: 1: powershell: not found\n"

2018-10-27 Thread Jordan Borean
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. -- You received this message because you are subscribed to the Google Groups "Ansible Project"

[ansible-project] Re: "/bin/sh: 1: powershell: not found\n"

2018-10-26 Thread Akshay Kaushik
On Wednesday, April 25, 2018 at 4:31:05 PM UTC+5:30, ali.k...@aurea.com wrote: > > i have a simple ansible playbook that i am using to configure some windows > machines. i am getting the following error. i have installed powershell. > is it the bash shell that is complaining? winrm is