Split xbps upgrade from package install task

This commit is contained in:
Fabio Scotto di Santolo
2026-03-17 20:46:22 +01:00
parent 4ed1f84bf6
commit 1b463e1cb2

View File

@@ -11,6 +11,11 @@
changed_when: false
when: "'void-repo-nonfree' in (host_packages | default([]) + void_packages_base | default([]))"
- name: Synchronize and upgrade Void Linux packages
community.general.xbps:
update_cache: true
upgrade: true
- name: Install packages on Void Linux
community.general.xbps:
name: >-
@@ -21,5 +26,4 @@
+ (host_packages | default([]))
}}
state: present
update_cache: true
upgrade: true
update_cache: false