ansible.builtin.tree callback – Save host events to files
This callback plugin is part of
ansible-core and included in all Ansible
installations. In most cases, you can use the short
tree even without specifying the
However, we recommend you use the FQCN for easy linking to the
plugin documentation and to avoid conflicting with other collections that may have
the same callback plugin name.
New in Ansible 2.0
This callback is used by the Ansible (adhoc) command line option
This produces a JSON dump of events in a directory, a file for each host, the directory used MUST be passed as a command line option.
The below requirements are needed on the local controller node that executes this callback.
invoked in the command line
directory that will contain the per host JSON files. Also set by the
Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.