community.general.log_plays (8.5.0) — callback

write playbook output to log file

Authors: Unknown (!UNKNOWN)

Install collection

Install with ansible-galaxy collection install community.general:==8.5.0


Add to requirements.yml

  collections:
    - name: community.general
      version: 8.5.0

Description

This callback writes playbook output to a file per host in the C(/var/log/ansible/hosts) directory.


Requirements

Inputs

    
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