v1.3.0: A role for the UPS
A new role shuts the rack down in order when the UPS runs on battery: the nodes after five minutes, the NAS last. No breaking change.
v2.0.0: One inventory in YAMLA new role, nut, shuts the rack down in order when the UPS runs on battery: the three nodes after five minutes, the NAS last. Until now a long power cut would have ended with an empty battery and four disks stopping mid-write.
Added
nutrole: the NAS talks to the UPS over USB and serves its status, the nodes listen.- Nodes shut down after five minutes on battery, the NAS when the battery reports low.
make check, which runs the playbook with--check --diffagainst every host.
Changed
- The
commonrole sets the time zone toEurope/Berlinon every host.
Fixed
- The
nfsrole restarted the NFS server on every run, even without a change.
nut_mode: netserver
nut_ups_name: ups
nut_driver: usbhid-ups
nut_shutdown_after: 300
subscribe
New entries and the next chapter by mail, nothing else.