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
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
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
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"
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