feat(packages): If yq-go is installed make it callable as yq

This commit is contained in:
Marty Oehme 2025-07-09 12:17:02 +02:00
parent 2eaac57090
commit b4fbc9be8a
Signed by: Marty
GPG key ID: 4E535BC19C61886E
2 changed files with 9 additions and 0 deletions

View file

@ -65,6 +65,7 @@ packages_terminal:
- wlopm
- wlsunset
- wtype
- yq-go
- yt-dlp
- zk
- zoxide

View file

@ -11,3 +11,11 @@
community.general.xbps:
name: all_packages_to_install
state: "{{ desired_package_state | default('present') }}"
- name: Ensure yq binary points to the yq-go version
ansible.builtin.file:
src: "/usr/bin/yq-go"
dest: "/usr/bin/yq"
state: link
when: "'yq-go' in all_packages_to_install"
tags: sut