community.general.log_plays (0.1.4) — callback

write playbook output to log file

Authors: unknown

Install collection

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


Add to requirements.yml

  collections:
    - name: community.general
      version: 0.1.4

Description

This callback writes playbook output to a file per host in the `/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