ansible-role-filebeat/molecule/default/converge.yml

21 lines
394 B
YAML
Raw Normal View History

2019-11-08 20:34:52 +00:00
---
2022-04-08 07:02:40 +00:00
- name: Converge
hosts: all
roles:
- ansible-role-filebeat
2019-11-08 20:34:52 +00:00
vars:
filebeat_config:
filebeat.inputs:
- type: log
paths:
- /var/log/messages
- /var/log/*.log
output.file:
path: "/tmp/filebeat"
filename: filebeat
2022-04-08 07:02:40 +00:00
pre_tasks:
- name: update apt cache
ansible.builtin.apt:
update_cache: true