📥️ Various nice improvements

This commit is contained in:
2022-12-19 13:59:24 +01:00
parent 92a48a403b
commit bc0dd6487f
16 changed files with 71 additions and 52 deletions

View File

@@ -1,6 +1,6 @@
---
- name: Update and upgrade package managed stuff
# when: update
when: update
block:
# - name: Install yay (AUR helper)
@@ -24,9 +24,9 @@
when: "'alpine' in group_names"
tags: update alpine
- name: Update and upgrade xbps packages
- name: Update, upgrade and autoremove xbps packages
become: true
shell: xbps-install -Suv
shell: xbps-install -Suv && xbps-remove -ROo
when: package_manager == 'xbps' or 'xbps' in group_names
tags: update
@@ -35,6 +35,7 @@
apk:
update_cache: true
upgrade: true
state: 'latest'
when: package_manager == 'apk' or 'apk' in group_names
tags: update
@@ -42,6 +43,7 @@
become: true
apt:
update_cache: true
autoremove: true
upgrade: true
when: package_manager == 'apt' or 'apt' in group_names
tags: update