Optimized ignoring of LID driver

This commit is contained in:
kevinveenbirkenbach committed 2025-12-03 20:07:02 +01:00
1 parent 9182d14175
commit 84d3c8fc16
2 files changed
+3 -3

No files matched your search

+3
View File
@@ -29,6 +29,7 @@ jobs:
- name: First deploy (normal + debug)
run: |
docker run --network=host --rm \
-e EXCLUDED_ROLES="$EXCLUDED_ROLES" \
infinito:latest \
/bin/sh -lc '
set -e
@@ -51,6 +52,7 @@ jobs:
- name: Second deploy (--reset --debug)
run: |
docker run --network=host --rm \
-e EXCLUDED_ROLES="$EXCLUDED_ROLES" \
infinito:latest \
/bin/sh -lc '
set -e
@@ -72,6 +74,7 @@ jobs:
- name: Third deploy (async deploy – no debug)
run: |
docker run --network=host --rm \
-e EXCLUDED_ROLES="$EXCLUDED_ROLES" \
infinito:latest \
/bin/sh -lc '
set -e
-3
View File
@@ -17,10 +17,8 @@
line: 'HandleLidSwitch=hibernate'
backup: yes
notify: Restart systemd-logind
become: true
- name: Configure systemd to lock session when lid is closed on external power
become: true
lineinfile:
path: /etc/systemd/logind.conf
regexp: '^#?HandleLidSwitchExternalPower='
@@ -30,7 +28,6 @@
become: true
- name: Configure systemd to lock session when lid is closed while docked
become: true
lineinfile:
path: /etc/systemd/logind.conf
regexp: '^#?HandleLidSwitchDocked='