Member-only story

Test host availability — Ansible module ping

Deep dive into the Ansible module ping in the collection “ansible.builtin” to test the access to a managed host and that Python is installed. Live demo and Ansible playbook included.

Luca Berton
3 min readAug 7, 2021

Ansible module ping. Today we’re going to talk about the simplest way to test if a managed host is available to receive our commands.
I’m Luca Berton and welcome to today’s episode of Ansible Pilot.

Ansible module ping

Today we’re talking about Ansible module ping.
The full name is ansible.builtin.ping, which means that is part of the collection of modules “builtin” with ansible and shipped with it.
It’s a module pretty stable and out for years.
It verify the ability of Ansible to login to the managed host and that there is a Python interpreter that is able to execute our code.
So it’s pretty different for the ping in the…

--

--

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