From f0f937448abf378b71871b107e10cec62177632e Mon Sep 17 00:00:00 2001 From: Raphael Dannecker Date: Mon, 7 Apr 2025 10:40:15 +0200 Subject: [PATCH 1/2] Don't restart polkit when run in installer --- roles/lmn_security/handlers/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/lmn_security/handlers/main.yml b/roles/lmn_security/handlers/main.yml index 2de8018..1a145ab 100644 --- a/roles/lmn_security/handlers/main.yml +++ b/roles/lmn_security/handlers/main.yml @@ -8,3 +8,4 @@ ansible.builtin.systemd: name: polkit state: restarted + when: not run_in_installer|default(false)|bool From 970eda96d212c8af47e1d1bce366c4a04213931a Mon Sep 17 00:00:00 2001 From: Raphael Dannecker Date: Mon, 7 Apr 2025 10:40:58 +0200 Subject: [PATCH 2/2] Remove old cleanup task --- lmn-client.yml | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/lmn-client.yml b/lmn-client.yml index c126b96..5584d6e 100644 --- a/lmn-client.yml +++ b/lmn-client.yml @@ -80,9 +80,6 @@ loop_var: rolename when: custom_roles is defined - -################# - - name: Final tasks ansible.builtin.include_role: name: "{{ role }}" @@ -93,25 +90,6 @@ - lmn_finish - lmn_tmpfixes -################# - -- name: Apply additional laptop configuration - hosts: laptop - remote_user: ansible - become: true - vars_files: lmn-vault - tasks: - - name: Remove deprecated files and directories (laptop-class) - ansible.builtin.file: - path: "{{ item }}" - state: absent - with_items: - - /etc/systemd/network/80-wlan-dhcp.network - - /etc/systemd/network/wlan-dhcp.network - - /etc/systemd/network/virbr1.netdev - - /etc/systemd/network/virbr1.network - - /etc/systemd/network/wlan-dhcp.network - - /etc/NetworkManager/system-connections/FVS-devices.nmconnection - name: Apply roles that must run serial hosts: all