log_plays – write playbook output to log file — Ansible Documentation

- AnsibleFest
- Products
- Community
- Webinars & Training
- Blog

Documentation

# log_plays – write playbook output to log file

- Synopsis
- Requirements
- Status

## Synopsis

- This callback writes playbook output to a file per host in the /var/log/ansible/hosts directory
- TODO: make this configurable

## Requirements

The below requirements are needed on the local master node that executes this callback.

- Whitelist in configuration
- A writeable /var/log/ansible/hosts directory by the user executing Ansible on the controller

## Status

- This callback is not guaranteed to have a backwards compatible interface. [preview]
- This callback is maintained by the Ansible Community. [community]

### Authors

- UNKNOWN

Hint

If you notice any issues in this documentation you can edit this document to improve it.