If we keep the default value we are going to use “pong” as a parameter and as the return value. The return value is the “ping” string, that contains the same string of the data input parameter. It’s possible to personalize the text using the “data” parameter. The win_ping module usually delivers the pong text to the endpoint. People usually don’t specify any parameters or use the return value. It’s the Windows corresponding to the Ansible ping module. So it’s pretty different for the ping in the network context. 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. It’s a module pretty stable and out for years. Previously was part of the built-in collection. The full name is _ping, which means that is part of the collection of the “windows” modules of ansible. Today we’re talking about Ansible module win_ping. I’m Luca Berton and welcome to today’s episode of Ansible Pilot. Today we’re going to talk about the simplest way to test if a Windows-managed host is available to receive our commands. Donate How to test Windows host availability?.Access the Complete Video Course and Learn Quick Ansible by 200+ Practical Lessons
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |