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.

Luca Berton
3 min readSep 8, 2021

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.

--

--

Luca Berton
Luca Berton

Written by Luca Berton

I help creative Automation DevOps, Cloud Engineer, System Administrator, and IT Professional to succeed with Ansible Technology to automate more things everyday

No responses yet