Better handling for package group installs
This commit is contained in:
parent
d017446a0e
commit
5f679fd659
1 changed files with 8 additions and 20 deletions
|
@ -22,27 +22,15 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: install extra package groups
|
- name: install extra package groups
|
||||||
package:
|
dnf:
|
||||||
name: "{{ package_group }}"
|
name:
|
||||||
state: installed
|
|
||||||
with_items:
|
|
||||||
- "@development"
|
- "@development"
|
||||||
- "@fonts"
|
- "@fonts"
|
||||||
- "@gnome-desktop"
|
- "@gnome-desktop"
|
||||||
- "@workstation-product"
|
- "@workstation-product"
|
||||||
loop_control:
|
state: installed
|
||||||
loop_var: package_group
|
exclude:
|
||||||
|
- fprintd-pam
|
||||||
- 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
|
|
||||||
|
|
||||||
- name: install extra packages
|
- name: install extra packages
|
||||||
package:
|
package:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue