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.
Optional variables:
debug_dumpallvars_file
: The file to write the variables to, default/tmp/ansible-debug-dumpallvars.txt
.
- hosts: localhost
roles:
- role: ome.debug_dumpallvars
debug_dumpallvars_file: /tmp/ansible-dumpvars.txt