wake up from suspend fails in R217

This commit is contained in:
Andreas B. Mundt 2023-07-14 13:01:46 +02:00
parent f101787e2d
commit 0347ecda0e

View file

@ -111,6 +111,22 @@
RememberLastUser=false RememberLastUser=false
RememberLastSession=false RememberLastSession=false
- name: Create directory to avoid suspend
ansible.builtin.file:
path: /etc/systemd/sleep.conf.d/
state: directory
mode: '0755'
- name: Avoid suspending
blockinfile:
path: /etc/systemd/sleep.conf.d/nosuspend.conf
create: true
block: |
[Sleep]
AllowSuspend=no
AllowHibernation=no
AllowSuspendThenHibernate=no
AllowHybridSleep=no
################# from kiosk.yml ################## ################# from kiosk.yml ##################
- name: grub timeout - name: grub timeout