disable standby on notebooks running proxmox
This commit is contained in:
7
roles/base/tasks/system_setup/disable_standby.yml
Normal file
7
roles/base/tasks/system_setup/disable_standby.yml
Normal 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
|
||||
Reference in New Issue
Block a user