How to fix “Unreachable” when ping windows with ansible over ssh?
问题 I'm trying to use Ansible with ssh for interact with Windows machines i have successfully install OpenSSH on a Windows machine that mean i can connect from linux to windows with: ssh username@ipAdresse i've tried using a lot of version of ansible (2.6, 2.7.12, 2.7.14, 2.8.5 and 2.8.6) and i always test if i can ping an other Linux machine with this line(it work): ansible linux -m ping There is my hosts file [windows] 192.***.***.*** [linux] 192.***.***.*** [all:vars] ansible_connection=ssh