Error :winrm ## The kind of connection which ansible will make with remote windows node' was not found"

117 views
Skip to first unread message

Rajesh Varma

unread,
Oct 25, 2021, 10:48:46 AM10/25/21
to Ansible Project
Hello Techies,
I am learning the ansible on windows 10.

I have configure the ubuntu and ansible on my laptop.
Now i am trying to connect the windows from ubuntu .. i am getting the below error message

 ansible windows -m win_ping -i ansible/Inventory/Servers.ini --list-hosts

My Server inventory file
[windows]
192.168.56.1
127.0.0.1
rvpc

[windows:vars]
ansible_user=rajesh ## the windows username for ansible to communicate
ansible_password=92Narki73 ## the windows password for ansible to communicate
ansible_connection=winrm ## The kind of connection which ansible will make with remote windows node
ansible_winrm_transport= ntlm
ansible_ssh_port=5986
ansible_winrm_server_cert_validation=ignore


Error message:
192.168.56.1 | FAILED! => {
    "msg": "the connection plugin 'winrm ## The kind of connection which ansible will make with remote windows node' was not found"
}
127.0.0.1 | FAILED! => {
    "msg": "the connection plugin 'winrm ## The kind of connection which ansible will make with remote windows node' was not found"
}
rvpc | FAILED! => {
    "msg": "the connection plugin 'winrm ## The kind of connection which ansible will make with remote windows node' was not found"
}

Please guide me .

Thanks
Rajesh Varma

Rajesh Varma

unread,
Oct 27, 2021, 9:24:50 AM10/27/21
to ansible...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages