30 lines
477 B
YAML
30 lines
477 B
YAML
|
---
|
||
|
# defaults file for ansible-role-nut
|
||
|
#
|
||
|
nut_package_name: nut
|
||
|
|
||
|
nut_ups:
|
||
|
- name: eaton
|
||
|
driver: usbhid-ups
|
||
|
device: auto
|
||
|
description: eaton UPS
|
||
|
extra: ""
|
||
|
|
||
|
nut_upsd_extra: |
|
||
|
MAXAGE 15
|
||
|
MAXCONN 1024
|
||
|
LISTEN 0.0.0.0 3493
|
||
|
LISTEN ::1 3493
|
||
|
|
||
|
nut_upsmon_extra: |
|
||
|
MINSUPPLIES 1
|
||
|
SHUTDOWNCMD "/sbin/shutdown -h +0"
|
||
|
POLLFREQ 5
|
||
|
POLLFREQALERT 5
|
||
|
HOSTSYNC 15
|
||
|
DEADTIME 15
|
||
|
POWERDOWNFLAG /etc/killpower
|
||
|
RBWARNTIME 43200
|
||
|
NOCOMMWARNTIME 300
|
||
|
FINALDELAY 5
|