Optimized ignoring of LID driver

This commit is contained in:
2025-12-03 20:07:02 +01:00
parent 9182d14175
commit 84d3c8fc16
2 changed files with 3 additions and 3 deletions

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

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='