* apsupsd: Parameter NOLOGON eingebaut

* Typo

* Housekeeping
This commit is contained in:
Quotengrote 2020-12-07 09:31:17 +01:00 committed by GitHub
parent eec397fa3e
commit 61fee4af86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 8 deletions

View file

@ -1,7 +0,0 @@
---
### oefenweb.ufw
ufw_rules:
- rule: allow
interface: ens18
- rule: allow
interface: ens19

View file

@ -30,6 +30,7 @@
ONBATTERYDELAY: 10 ONBATTERYDELAY: 10
BATTERYLEVEL: 50 BATTERYLEVEL: 50
MINUTES: 10 MINUTES: 10
NOLOGON: disable
### mgrote.zfs_tools ### mgrote.zfs_tools
zfs_arc_max: "12884901888" zfs_arc_max: "12884901888"
zfs_pool: zfs_pool:

View file

@ -3,6 +3,7 @@
### Beschreibung ### Beschreibung
Installiert APCUPSD fuer eine APC UPS mit USB Verbindung. Installiert APCUPSD fuer eine APC UPS mit USB Verbindung.
Benoetigt mgrote.postfix-gmail. Benoetigt mgrote.postfix-gmail.
https://linux.die.net/man/5/apcupsd.conf
### Funktioniert auf ### Funktioniert auf
- [x] ProxMox 6.1 - [x] ProxMox 6.1
@ -19,3 +20,6 @@ BATTERYLEVEL: 50
##### apcupsd will shutdown the system during a power failure when the remaining runtime on batteries as internally calculated by the UPS falls below the specified minutes. ##### apcupsd will shutdown the system during a power failure when the remaining runtime on batteries as internally calculated by the UPS falls below the specified minutes.
MINUTES: 10 MINUTES: 10
##### Specifies when apcupsd should create the nologon file to prevent users from logging on to the system.
NOLOGON: always

View file

@ -2,3 +2,4 @@
ONBATTERYDELAY: 10 ONBATTERYDELAY: 10
BATTERYLEVEL: 50 BATTERYLEVEL: 50
MINUTES: 10 MINUTES: 10
NOLOGON: always

View file

@ -27,4 +27,4 @@
ansible.builtin.template: ansible.builtin.template:
src: "apcupsd.conf" src: "apcupsd.conf"
dest: "/etc/apcupsd/apcupsd.conf" dest: "/etc/apcupsd/apcupsd.conf"
notify: restart_apcupsd #benachrchtigt handlers/main.yml-restart-apcupsd_restart um den dient neuzustarten, nur wenn hier status "changed" ausgeworfen wird" notify: restart_apcupsd #benachrichtigt handlers/main.yml-restart-apcupsd_restart um den dient neuzustarten, nur wenn hier status "changed" ausgeworfen wird"

View file

@ -10,3 +10,5 @@ UPSNAME APC-BX950U-GR
ONBATTERYDELAY {{ ONBATTERYDELAY }} ONBATTERYDELAY {{ ONBATTERYDELAY }}
BATTERYLEVEL {{ BATTERYLEVEL }} BATTERYLEVEL {{ BATTERYLEVEL }}
MINUTES {{ MINUTES }} MINUTES {{ MINUTES }}
NOLOGON {{ NOLOGON }}