mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-09-15 03:54:58 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
10
roles/filebeat/handlers/main.yml
Normal file
10
roles/filebeat/handlers/main.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
- name: restart filebeat
|
||||
service: name=filebeat state=restarted
|
||||
when: filebeat_output_hosts | length > 0
|
||||
|
||||
- name: restart journalbeat
|
||||
service: name=journalbeat state=restarted
|
||||
when:
|
||||
- filebeat_output_hosts | length > 0
|
||||
- ansible_service_mgr == 'systemd'
|
Reference in New Issue
Block a user