ansible.builtin.vars (v2.5.12) — lookup

Lookup templated value of variables

| "added in version" 2.5 of ansible.builtin"

Authors: Ansible Core

Install Ansible via pip

Install with pip install ansible==2.5.12

Description

Retrieves the value of an Ansible variable.

Inputs

    
_term:
    description: The variable names to look up.
    required: true

default:
    description:
    - What to return if a variable is undefined.
    - If no default is set, it will result in an error if any of the variables is undefined.

Outputs

_value:
  description:
  - valueof the variables requested.