ref(roles): All roles use desired package state
By setting the `desired_package_state` variable we can change if ansible should only ensure that the packages exist on the system (`present`) or that they are also updated to their latest version (`latest`).
This commit is contained in:
parent
5817a81f40
commit
afac310f21
16 changed files with 27 additions and 28 deletions
|
|
@ -2,7 +2,7 @@
|
|||
community.general.xbps:
|
||||
name:
|
||||
- mesa-dri
|
||||
state: present
|
||||
state: "{{ desired_package_state | default('present') }}"
|
||||
tags:
|
||||
- intel
|
||||
- drivers
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
- dbus
|
||||
- seatd
|
||||
- turnstile
|
||||
state: present
|
||||
state: "{{ desired_package_state | default('present') }}"
|
||||
tags:
|
||||
- packages
|
||||
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
name:
|
||||
- xdg-desktop-portal
|
||||
- xdg-desktop-portal-wlr
|
||||
state: present
|
||||
state: "{{ desired_package_state | default('present') }}"
|
||||
tags:
|
||||
- packages
|
||||
- desktop-portal
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
name:
|
||||
- qt5-wayland
|
||||
- qt6-wayland
|
||||
state: present
|
||||
state: "{{ desired_package_state | default('present') }}"
|
||||
tags:
|
||||
- packages
|
||||
- qt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue