mirror of
https://github.com/zebrajr/HomeLab.git
synced 2026-01-15 12:15:06 +00:00
add common packages to be absent
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user