powershell: not found

I keep getting this error whenever I try to run a playbook. I haven’t been able to find a solution to this, can anyone help?

I am too getting same error now…

Also, I’m running Ubuntu 18.04

Without looking at your playbook and your inventory it’s hard to say.

However I will throw an educated guess that you are running the ping linux module which using a winrm connection.

If your target host is really linux and you want to run ping then switch your connection to ssh or paramiko. If your target host is windows then change the module to wing_ping instead of ping.

See this link to see if it resolves your issue https://github.com/ansible/ansible/issues/35437

Hi Tony,
Please take a look at my inventory and my work at this post.
https://groups.google.com/forum/#!topic/ansible-project/p6Ye0VKNOT8

I was accidentally doing win_ping instead of ping, so you are correct. Thank you so so much!