Ansible Module ansible.builtin.debug: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
=External=
* https://docs.ansible.com/ansible/latest/collections/ansible/builtin/debug_module.html
=Internal=
=Internal=
* [[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>{{ variable_name }}</code>.
Can be used to issue debug messages, in which variables can be embedded as <code>{{ variable_name }}</code>.

Revision as of 04:46, 4 July 2021

External

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 }}