20 lines
392 B
YAML
20 lines
392 B
YAML
---
|
|
|
|
- name: reload nginx
|
|
service:
|
|
name: nginx
|
|
state: reloaded
|
|
|
|
- name: restart filebeat
|
|
service:
|
|
name: filebeat
|
|
state: restarted
|
|
when:
|
|
# filebeat isnt installed on 32-bit arm (armv7l, armhf -- rpi 3 for example) because there are no builds provided
|
|
- ansible_architecture != "armv7l"
|
|
|
|
- name: restart telegraf
|
|
service:
|
|
name: telegraf
|
|
state: restarted
|