Member-only story
Print text/variable during execution — Ansible module debug
Some real-life examples from print “Hello world!”, print a text, print a variable, print a combination of text and variable and set the verbosity level.
How to print a text or a variable during the execution with Ansible?
I’m going to show you step-by-step in a live demo with some example code.
I’m Luca Berton and welcome to today’s episode of Ansible Pilot
Ansible Print text/variable during execution
Today we’re talking about Ansible module debug.
It’s part of the `ansible.builtin` collection so it’s part of the collection of modules “builtin” with ansible and shipped with it.
It’s a stable module and works with a variety of operating systems.
The purpose is to print statements during execution. This means not only text but also all the possible Ansible…