servers/roles/telegraf/handlers/main.yml
Timotej Lazar 0a0ce7e2a5 Add telegraf role
And enable it for ceph nodes.
2024-11-27 17:37:00 +01:00

11 lines
229 B
YAML

- name: update package cache
package:
update_cache: yes
when: "'handler' not in ansible_skip_tags"
- name: restart telegraf
service:
name: telegraf
state: restarted
when: "'handler' not in ansible_skip_tags"