Better handling for package group installs

This commit is contained in:
Timo Makinen 2021-02-12 05:32:12 +00:00
parent d017446a0e
commit 5f679fd659

View file

@ -22,27 +22,15 @@
tasks:
- name: install extra package groups
package:
name: "{{ package_group }}"
dnf:
name:
- "@development"
- "@fonts"
- "@gnome-desktop"
- "@workstation-product"
state: installed
with_items:
- "@development"
- "@fonts"
- "@gnome-desktop"
- "@workstation-product"
loop_control:
loop_var: package_group
- name: remove unwanted packages from groups
package:
name: "{{ package }}"
state: absent
with_items:
- bluez-obexd
- gnome-bluetooth
- pulseaudio-module-bluetooth
loop_control:
loop_var: package
exclude:
- fprintd-pam
- name: install extra packages
package: