feat: hardware/firmware/gpu/peripherals detection and packages
This commit is contained in:
@@ -66,7 +66,10 @@
|
||||
register: bootstrap_debian_extra_result
|
||||
changed_when: bootstrap_debian_extra_result.rc == 0
|
||||
|
||||
# Printing (libcups2) and mDNS (libavahi*) are needed by a desktop session,
|
||||
# so keep them when a desktop is requested.
|
||||
- name: Remove unnecessary packages
|
||||
when: not (system_cfg.features.desktop.enabled | bool)
|
||||
ansible.builtin.command: "{{ chroot_command }} apt remove -y libcups2 libavahi-common3 libavahi-common-data"
|
||||
register: bootstrap_debian_remove_result
|
||||
changed_when: bootstrap_debian_remove_result.rc == 0
|
||||
|
||||
Reference in New Issue
Block a user