2019-08-13 16:19:51 +02:00
|
|
|
---
|
|
|
|
# handlers file for beats
|
|
|
|
|
2021-03-04 18:32:20 +01:00
|
|
|
- name: restart the service
|
|
|
|
become: yes
|
|
|
|
service:
|
|
|
|
name: "{{ beat_product }}"
|
|
|
|
state: restarted
|
|
|
|
enabled: true
|
|
|
|
when: start_service and restart_on_change and not beats_started.changed
|