debug-variable
Debug-variable
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
Install
ansible-galaxy install GROG/ansible-role-debug-variable
License
mit
Downloads
170092
Owner
Open Source Science and Technology