community / community.general / 8.5.0 / callback / log_plays write playbook output to log file Authors: Unknown (!UNKNOWN)community.general.log_plays (8.5.0) — callback
Install with ansible-galaxy collection install community.general:==8.5.0
collections: - name: community.general version: 8.5.0
This callback writes playbook output to a file per host in the C(/var/log/ansible/hosts) directory.
log_folder: default: /var/log/ansible/hosts description: The folder where log files will be created. env: - name: ANSIBLE_LOG_FOLDER ini: - key: log_folder section: callback_log_plays