Compare commits

...

2 commits

Author SHA1 Message Date
Raphael Dannecker
970eda96d2 Remove old cleanup task 2025-04-07 10:40:58 +02:00
Raphael Dannecker
f0f937448a Don't restart polkit when run in installer 2025-04-07 10:40:15 +02:00
2 changed files with 1 additions and 22 deletions

View file

@ -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

View file

@ -8,3 +8,4 @@
ansible.builtin.systemd:
name: polkit
state: restarted
when: not run_in_installer|default(false)|bool