diff --git a/lmn-client.yml b/lmn-client.yml index 5584d6e..c126b96 100644 --- a/lmn-client.yml +++ b/lmn-client.yml @@ -80,6 +80,9 @@ loop_var: rolename when: custom_roles is defined + +################# + - name: Final tasks ansible.builtin.include_role: name: "{{ role }}" @@ -90,6 +93,25 @@ - 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 diff --git a/roles/lmn_security/handlers/main.yml b/roles/lmn_security/handlers/main.yml index 1a145ab..2de8018 100644 --- a/roles/lmn_security/handlers/main.yml +++ b/roles/lmn_security/handlers/main.yml @@ -8,4 +8,3 @@ ansible.builtin.systemd: name: polkit state: restarted - when: not run_in_installer|default(false)|bool