Add telegraf role
And enable it for ceph nodes.
This commit is contained in:
parent
14dd446fd4
commit
0a0ce7e2a5
6 changed files with 111 additions and 0 deletions
10
roles/telegraf/handlers/main.yml
Normal file
10
roles/telegraf/handlers/main.yml
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue