Remove old cleanup task

This commit is contained in:
Raphael Dannecker 2025-04-07 10:40:58 +02:00
parent f0f937448a
commit 970eda96d2

View file

@ -80,9 +80,6 @@
loop_var: rolename loop_var: rolename
when: custom_roles is defined when: custom_roles is defined
#################
- name: Final tasks - name: Final tasks
ansible.builtin.include_role: ansible.builtin.include_role:
name: "{{ role }}" name: "{{ role }}"
@ -93,25 +90,6 @@
- lmn_finish - lmn_finish
- lmn_tmpfixes - 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 - name: Apply roles that must run serial
hosts: all hosts: all