Member-only story
Test Windows host availability — Ansible module win_ping
How to test Windows host availability? Today we’re going to talk about the simplest way to test if a Windows-managed host is available to receive our commands. Ansible module win_ping.
How to test Windows host availability?
Today we’re going to talk about the simplest way to test if a Windows-managed host is available to receive our commands.
I’m Luca Berton and welcome to today’s episode of Ansible Pilot.
Ansible module win_ping
Today we’re talking about Ansible module win_ping.
The full name is ansible.windows.win_ping, which means that is part of the collection of the “windows” modules of ansible. Previously was part of the built-in collection.
It’s a module pretty stable and out for years.
It verifies the ability of Ansible to login to the managed host and that there is a shell, usually PowerShell, that is able to execute our code.
So it’s pretty different for the ping in the network context.