forked from c3d2/nix-config
11 lines
228 B
YAML
11 lines
228 B
YAML
---
|
|
# handlers file for beats
|
|
|
|
- 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
|