feat(packages): If yq-go is installed make it callable as yq
This commit is contained in:
parent
2eaac57090
commit
b4fbc9be8a
2 changed files with 9 additions and 0 deletions
|
|
@ -65,6 +65,7 @@ packages_terminal:
|
||||||
- wlopm
|
- wlopm
|
||||||
- wlsunset
|
- wlsunset
|
||||||
- wtype
|
- wtype
|
||||||
|
- yq-go
|
||||||
- yt-dlp
|
- yt-dlp
|
||||||
- zk
|
- zk
|
||||||
- zoxide
|
- zoxide
|
||||||
|
|
|
||||||
|
|
@ -11,3 +11,11 @@
|
||||||
community.general.xbps:
|
community.general.xbps:
|
||||||
name: all_packages_to_install
|
name: all_packages_to_install
|
||||||
state: "{{ desired_package_state | default('present') }}"
|
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue