disable standby on notebooks running proxmox

This commit is contained in:
2024-11-30 20:08:35 +01:00
parent a8c83839c9
commit 854c92eb86
3 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
- name: system setup | proxmox | disable standby
lineinfile:
path: "/etc/systemd/logind.conf"
line: "HandleLidSwitch=ignore"
state: present
insertafter: "^#HandleLidSwitch=.*$"
notify: restart_logind