debug-var

Example:

# Display the currents user home directory.
- debug-var:
    var: ansible_env.HOME

Description

n/a

Variables

Name Type Default Description

var

string --

the Ansible variable name to debug Required

Examples

Example 1

Display the currents user home directory.

Code
- debug-var:
    var: ansible_env.HOME

Command-line

frecklecute debug-var --help

Usage: frecklecute debug-var [OPTIONS] VAR

  Displays the content of an (internal) Ansible variable.

Options:
  --help  Show this message and exit.