We often need to print messages or the variable’s value in Ansible. The statements can be text, Ansible variables, facts, and so on.

Ansible debug module

Get hands-on with 1400+ tech skills courses.