Skip to content

GROG/ansible-role-debug-variable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Debug-variable

Ansible Galaxy Build Status Latest tag Gitter chat

A role for debugging ansible variables.

Inspired by Lester Wade.

This role dumps all ansible variables to a file for debugging. It is strongly recommended to only use this role on development systems! Using it in a production environment could result in serious security risks.

Requirements

  • Hosts should be bootstrapped for ansible usage (have python,...)

Role Variables

Variable Description Default value
debug_variable_dump_location Location for the dump file '/tmp/ansible.dump'

Dependencies

None.

Example Playbook

---
- hosts: servers
  roles:
  - { role: GROG.debug-variable }

Contributing

All assistance, changes or ideas welcome!

Author

By G. Roggemans

License

MIT