ansible.builtin.tree (v2.16.0) — callback

Save host events to files

| "added in version" 2.0 of ansible.builtin"

Authors: unknown

Install Ansible via pip

Install with pip install ansible-core==2.16.0

Description

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.


Requirements

Inputs

    
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