remove bun
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@
|
|||||||
content: |
|
content: |
|
||||||
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
|
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||||
export GOPATH="${GOPATH:-$HOME/go}"
|
export GOPATH="${GOPATH:-$HOME/go}"
|
||||||
export PATH="$HOME/.scripts:$HOME/.local/bin:$HOME/.cargo/bin:$HOME/.bun/bin:$HOME/bin/zig:$HOME/bin/zls:$GOPATH/bin:$PATH"
|
export PATH="$HOME/.scripts:$HOME/.local/bin:$HOME/.cargo/bin:$HOME/bin/zig:$HOME/bin/zls:$GOPATH/bin:$PATH"
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
export VISUAL=nvim
|
export VISUAL=nvim
|
||||||
export TERMINAL=foot
|
export TERMINAL=foot
|
||||||
|
|||||||
@@ -100,27 +100,3 @@
|
|||||||
path: /tmp/install_starship.sh
|
path: /tmp/install_starship.sh
|
||||||
state: absent
|
state: absent
|
||||||
when: not starship_binary.stat.exists
|
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