ansible / ansible.builtin / v2.16.0 / callback / tree Save host events to files | "added in version" 2.0 of ansible.builtin" Authors: unknownansible.builtin.tree (v2.16.0) — callback
pip
Install with pip install ansible-core==2.16.0
This callback is used by the Ansible (adhoc) command line option C(-t|--tree).
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.
directory: default: ~/.ansible/tree description: directory that will contain the per host JSON files. Also set by the C(--tree) option when using adhoc. env: - name: ANSIBLE_CALLBACK_TREE_DIR ini: - key: directory section: callback_tree type: path version_added: '2.11' version_added_collection: ansible.builtin