remove bun
This commit is contained in:
@@ -100,27 +100,3 @@
|
||||
path: /tmp/install_starship.sh
|
||||
state: absent
|
||||
when: not starship_binary.stat.exists
|
||||
|
||||
- name: Check for Bun
|
||||
ansible.builtin.stat:
|
||||
path: "{{ user_home }}/.bun/bin/bun"
|
||||
become: false
|
||||
register: bun_binary
|
||||
|
||||
- name: Download the Bun installer
|
||||
ansible.builtin.get_url:
|
||||
url: https://bun.sh/install
|
||||
dest: /tmp/bun-install.sh
|
||||
mode: "0755"
|
||||
when: not bun_binary.stat.exists
|
||||
|
||||
- name: Install Bun for the workstation user
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user