diff --git a/group_vars/proxmox.yml b/group_vars/proxmox.yml index 259d9969..def6b36c 100644 --- a/group_vars/proxmox.yml +++ b/group_vars/proxmox.yml @@ -15,8 +15,8 @@ smart_smartctlmail_cron_weekday: "3" ### mgrote.zfs_extra # Variablen für mgrote.zfs_health/trim/scrub/zed/arc_mem/ sind zusammengefasst unter zfs_extra_* zfs_extra_max_usage_health: "80" - - + ### mgrote.apcupsd + apcupsd_slave_polltime: 10 #in Sekunden # Ansible Variablen ### sudo diff --git a/roles/mgrote.apcupsd/defaults/main.yml b/roles/mgrote.apcupsd/defaults/main.yml index 8919ab18..ebf4881b 100644 --- a/roles/mgrote.apcupsd/defaults/main.yml +++ b/roles/mgrote.apcupsd/defaults/main.yml @@ -8,6 +8,7 @@ apcupsd_slave_batterylevel_for_shutdown: 60 apcupsd_slave_minutes_for_shutdown: 11 apcupsd_slave_nologon_when_active: always + apcupsd_slave_polltime: 10 #in Sekunden apcupsd_nis_master: on apcupsd_nis_master_hostname: pve2.grote.lan diff --git a/roles/mgrote.apcupsd/templates/slave_apcupsd.conf b/roles/mgrote.apcupsd/templates/slave_apcupsd.conf index 9a305f18..35bc0c33 100644 --- a/roles/mgrote.apcupsd/templates/slave_apcupsd.conf +++ b/roles/mgrote.apcupsd/templates/slave_apcupsd.conf @@ -7,7 +7,7 @@ DEVICE {{ apcupsd_nis_master_hostname }}:{{ apcupsd_nis_master_listen_port }} LOCKFILE /var/lock UPSCLASS standalone UPSMODE disable -POLLTIME 10 +POLLTIME {{ apcupsd_slave_polltime }} ONBATTERYDELAY {{ apcupsd_slave_onbatterydelay }} BATTERYLEVEL {{ apcupsd_slave_batterylevel_for_shutdown }}