17 lines
432 B
YAML
17 lines
432 B
YAML
---
|
|
- name: Fetch the starship installer
|
|
ansible.builtin.get_url:
|
|
url: https://starship.rs/install.sh
|
|
dest: /tmp/starship.sh
|
|
mode: 0700
|
|
|
|
- name: Install starship
|
|
ansible.builtin.command:
|
|
cmd: sh /tmp/starship.sh -f -b $HOME/.local/bin
|
|
creates: ~/.local/bin/starship
|
|
|
|
- name: Install starship configuration
|
|
ansible.builtin.copy:
|
|
src: files/starship.toml
|
|
dest: ~/.config/starship.toml
|
|
mode: 0600
|