diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml index fa744d13..b90c9a88 100644 --- a/.github/workflows/test-deploy.yml +++ b/.github/workflows/test-deploy.yml @@ -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 diff --git a/roles/drv-lid-switch/tasks/main.yml b/roles/drv-lid-switch/tasks/main.yml index d8398c39..ff7a5e5c 100644 --- a/roles/drv-lid-switch/tasks/main.yml +++ b/roles/drv-lid-switch/tasks/main.yml @@ -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='