Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
pycklets / resources / frecklet / debug-vars.frecklet
Size: Mime:
#!/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 }}'