tune up astronvim
This commit is contained in:
parent
d686961cd7
commit
f26d34ff58
7 changed files with 106 additions and 32 deletions
|
|
@ -1,25 +1,25 @@
|
|||
---
|
||||
# rust install, shamelessly stolen from https://waylonwalker.com/install-rust/
|
||||
- name: Check if cargo is installed
|
||||
shell: ls ~/.cargo
|
||||
ansible.builtin.command: ls ~/.cargo
|
||||
register: cargo_exists
|
||||
ignore_errors: yes
|
||||
ignore_errors: true
|
||||
|
||||
- name: Download rust installer
|
||||
when: cargo_exists is failed
|
||||
get_url:
|
||||
ansible.builtin.get_url:
|
||||
url: https://sh.rustup.rs
|
||||
dest: /tmp/sh.rustup.rs
|
||||
mode: '0755'
|
||||
force: 'yes'
|
||||
mode: "0755"
|
||||
force: "yes"
|
||||
|
||||
- name: Install rust and cargo
|
||||
when: cargo_exists is failed
|
||||
shell: /tmp/sh.rustup.rs -y
|
||||
|
||||
ansible.builtin.command: /tmp/sh.rustup.rs -y
|
||||
|
||||
- name: Install cargo packages
|
||||
community.general.cargo:
|
||||
name:
|
||||
name:
|
||||
- git-delta
|
||||
- dotter
|
||||
- bottom
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue