wake up from suspend fails in R217
This commit is contained in:
parent
f101787e2d
commit
0347ecda0e
1 changed files with 16 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue