munin: Add ipmi_ plugins on dedicated hardware
gitea/ansible-roles/pipeline/head This commit looks good
Details
gitea/ansible-roles/pipeline/head This commit looks good
Details
This commit is contained in:
parent
c310482ba6
commit
a540235077
|
@ -17,9 +17,11 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
||||||
* vrrp: add an `ip.yml` task file to help create VRRP addresses
|
* vrrp: add an `ip.yml` task file to help create VRRP addresses
|
||||||
* webapps/nextcloud: Add compatibility with apache2, and apache2 mod_php.
|
* webapps/nextcloud: Add compatibility with apache2, and apache2 mod_php.
|
||||||
* memcached: NRPE check for multi-instance setup
|
* memcached: NRPE check for multi-instance setup
|
||||||
|
* munin: Add ipmi_ plugins on dedicated hardware
|
||||||
* proftpd: Add options to override configs (and add a warning if file was overriden)
|
* proftpd: Add options to override configs (and add a warning if file was overriden)
|
||||||
* proftpd: Allow user auth with ssh keys
|
* proftpd: Allow user auth with ssh keys
|
||||||
|
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
* evocheck: upstream release 22.09
|
* evocheck: upstream release 22.09
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
- name: Ensure that Munin is installed
|
- name: Ensure that Munin (and useful dependencies) is installed
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
- munin
|
- munin
|
||||||
- munin-node
|
- munin-node
|
||||||
- munin-plugins-core
|
- munin-plugins-core
|
||||||
- munin-plugins-extra
|
- munin-plugins-extra
|
||||||
|
- gawk
|
||||||
state: present
|
state: present
|
||||||
tags:
|
tags:
|
||||||
- munin
|
- munin
|
||||||
|
@ -79,16 +80,32 @@
|
||||||
tags:
|
tags:
|
||||||
- munin
|
- munin
|
||||||
|
|
||||||
- name: Enable sensors plugin unless VM detected
|
- name: Enable sensors_ plugin on dedicated hardware
|
||||||
file:
|
file:
|
||||||
src: /usr/share/munin/plugins/sensors_
|
src: /usr/share/munin/plugins/sensors_
|
||||||
dest: /etc/munin/plugins/sensors_temp
|
dest: "/etc/munin/plugins/sensors_{{ item }}"
|
||||||
state: link
|
state: link
|
||||||
when: ansible_virtualization_role != "guest"
|
with_items:
|
||||||
|
- fan
|
||||||
|
- temp
|
||||||
|
when: ansible_virtualization_role == "host"
|
||||||
notify: restart munin-node
|
notify: restart munin-node
|
||||||
tags:
|
tags:
|
||||||
- munin
|
- munin
|
||||||
|
|
||||||
|
- name: Enable ipmi_ plugin on dedicated hardware
|
||||||
|
file:
|
||||||
|
src: /usr/share/munin/plugins/ipmi_
|
||||||
|
dest: "/etc/munin/plugins/ipmi_{{ item }}"
|
||||||
|
state: link
|
||||||
|
when: ansible_virtualization_role == "host"
|
||||||
|
notify: restart munin-node
|
||||||
|
with_items:
|
||||||
|
- fans
|
||||||
|
- temp
|
||||||
|
- power
|
||||||
|
- volts
|
||||||
|
|
||||||
- name: adjustments for grsec kernel
|
- name: adjustments for grsec kernel
|
||||||
blockinfile:
|
blockinfile:
|
||||||
dest: /etc/munin/plugin-conf.d/munin-node
|
dest: /etc/munin/plugin-conf.d/munin-node
|
||||||
|
|
Loading…
Reference in New Issue