Repository URL to install this package:
|
Version:
1.0.0b1 ▾
|
#!/usr/bin/env frecklecute
doc:
short_help: Displays the content of an (internal) Ansible variable.
examples:
- title: Displays a the current users username and home directory.
vars:
vars:
- ansible_env.HOME
- ansible_env.USER
args:
vars:
type: list
schema:
type: string
required: true
doc:
short_help: the Ansible variable name(s) to debug
cli:
param_type: argument
meta:
tags:
- debug
frecklets:
- frecklet:
type: ansible-module
name: debug
msg: 'display value of var(s): {{:: vars ::}}'
idempotent: false
become: false
internet: false
references:
"'debug' Ansible module": https://docs.ansible.com/ansible/latest/modules/debug_module.html
task:
loop: '{{:: vars ::}}'
vars:
var: '{{ item }}'