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