Hey Here are some brief notes
- Your host inventory defined ansible_connection twice, once as ansible_connection=local and the other as ansible_connection=winrm. Use local if you want to run things on the Ansible controller and use winrm when you want to run something on the WIndows host - Use ansible_port instead of ansible_ssh_port - When connecting to WIndows hosts use win_ module, like win_ping instead of ping - Your error is because you are trying to run win_ping over the local connection where PowerShell isn't installed Thanks Jordan -- 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/926b8dfd-ad8d-4b0e-90ce-7ad50149783e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.