Add telegraf role

And enable it for ceph nodes.
This commit is contained in:
Timotej Lazar 2024-11-27 17:36:20 +01:00
parent 14dd446fd4
commit 0a0ce7e2a5
6 changed files with 111 additions and 0 deletions

View file

@ -0,0 +1,10 @@
- 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"