mirror of
https://github.com/zebrajr/HomeLab.git
synced 2025-12-06 00:20:22 +01:00
add common packages to be absent
This commit is contained in:
parent
12ec222cf5
commit
540893b28c
|
|
@ -16,3 +16,12 @@ software_packages_common_present:
|
|||
- vlc
|
||||
- wget
|
||||
- zsh
|
||||
|
||||
software_packages_common_absent:
|
||||
- akregator
|
||||
- dragon
|
||||
- elisa
|
||||
- kaddressbook
|
||||
- kmail
|
||||
- kontakt
|
||||
- neochat
|
||||
|
|
|
|||
|
|
@ -7,3 +7,14 @@
|
|||
when: software_packages_common_present is defined
|
||||
tags: common, software
|
||||
|
||||
|
||||
- name: packages | remove packages
|
||||
become: true
|
||||
dnf:
|
||||
name: "{{ item }}"
|
||||
state: absent
|
||||
autoremove: true
|
||||
allowerasing: true
|
||||
loop: "{{ software_packages_common_absent }}"
|
||||
when: software_packages_common_absent is defined
|
||||
tags: common, software
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user