Ansible Module ansible.builtin.debug: Difference between revisions
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
=Overview= | =Overview= | ||
Can be used to issue debug messages, in which variables can be embedded as <code>{{ variable_name }}</code>. | |||
=Example= | |||
<syntaxhighlight lang='yaml'> | |||
- name: display the content of a variable | |||
ansible.builtin.debug: | |||
msg: Some message that refers to the content of {{ some_var }} | |||
</syntaxhighlight> |
Revision as of 04:46, 4 July 2021
Internal
Overview
Can be used to issue debug messages, in which variables can be embedded as Template:Variable name
.
Example
- name: display the content of a variable
ansible.builtin.debug:
msg: Some message that refers to the content of {{ some_var }}