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