summaryrefslogtreecommitdiff
path: root/roles/monitoring/collectd/sensors/tasks/main.yml
blob: 6abc32b69081f85ff745b240dfed3f3c612e41e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
- name: install dependencies
  apt:
    name:
    - libsensors5
    state: present

- name: install prometheus plugin config
  copy:
    dest: /etc/collectd/conf.d/prometheus.conf
    content: |
      LoadPlugin "sensors"
  notify: restart collectd