20 lines
458 B
YAML
20 lines
458 B
YAML
|
---
|
||
|
- name: Download starship binary
|
||
|
get_url:
|
||
|
url: https://github.com/starship/starship/releases/download/{{ version }}/starship-x86_64-unknown-linux-gnu.tar.gz
|
||
|
dest: /root/starship.tar.gz
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: 0755
|
||
|
vars:
|
||
|
version: "v0.39.0"
|
||
|
|
||
|
- name: Extract and install starship binary
|
||
|
unarchive:
|
||
|
src: /root/starship.tar.gz
|
||
|
dest: /usr/local/bin
|
||
|
remote_src: yes
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: 0755
|