add some rpm packages and more idempotency

This commit is contained in:
Bartal Laearsson
2026-07-05 11:56:23 +01:00
parent 7e13ac8d6b
commit 4d58d02c2e
6 changed files with 96 additions and 10 deletions
+14 -2
View File
@@ -91,9 +91,15 @@
when: not starship_binary.stat.exists
- name: Run Starship installer
ansible.builtin.command: /tmp/install_starship.sh -y
ansible.builtin.command: /tmp/install_starship.sh -y --bin-dir "{{ user_home }}/.local/bin"
become: false
when: not starship_binary.stat.exists
- name: Remove the Starship installer
ansible.builtin.file:
path: /tmp/install_starship.sh
state: absent
when: not starship_binary.stat.exists
become: true
- name: Check for Bun
ansible.builtin.stat:
@@ -112,3 +118,9 @@
ansible.builtin.command: /tmp/bun-install.sh
become: false
when: not bun_binary.stat.exists
- name: Remove the Bun installer
ansible.builtin.file:
path: /tmp/bun-install.sh
state: absent
when: not bun_binary.stat.exists