Skip to content

manics-archive/ansible-role-debug-dumpallvars

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Debug Dump All Vars

Build Status Ansible Role

Dump all variables to a file on the remote host.

This may be useful when debugging Ansible roles. Most Ansible variables will be written to a file on the remote host.

Role Variables

Optional variables:

  • debug_dumpallvars_file: The file to write the variables to, default /tmp/ansible-debug-dumpallvars.txt.

Example Playbook

- hosts: localhost
  roles:
  - role: ome.debug_dumpallvars
    debug_dumpallvars_file: /tmp/ansible-dumpvars.txt

Author Information

[email protected]

Packages

No packages published