17 lines
307 B
YAML
17 lines
307 B
YAML
|
---
|
||
|
- hosts: localhost
|
||
|
connection: local
|
||
|
vars:
|
||
|
filebeat_config:
|
||
|
filebeat.inputs:
|
||
|
- type: log
|
||
|
paths:
|
||
|
- /var/log/messages
|
||
|
- /var/log/*.log
|
||
|
output.file:
|
||
|
path: "/tmp/filebeat"
|
||
|
filename: filebeat
|
||
|
|
||
|
roles:
|
||
|
- ansible-role-filebeat
|