community / community.general / 6.6.8 / callback / log_plays write playbook output to log file Authors: Unknown (!UNKNOWN)community.general.log_plays (6.6.8) — callback
Install with ansible-galaxy collection install community.general:==6.6.8
collections: - name: community.general version: 6.6.8
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