1
0
Fork 0

bunch of stuff

This commit is contained in:
cătălin 2023-10-07 14:46:31 +02:00
commit 66b7a0ee5f
Signed by: catalin
GPG key ID: 0178DF42F43E5FD2
16 changed files with 239 additions and 111 deletions

View file

@ -0,0 +1,36 @@
---
# rust install, shamelessly stolen from https://waylonwalker.com/install-rust/
- name: Check if cargo is installed
shell: ls ~/.cargo
register: cargo_exists
ignore_errors: yes
- name: Download rust installer
when: cargo_exists is failed
get_url:
url: https://sh.rustup.rs
dest: /tmp/sh.rustup.rs
mode: '0755'
force: 'yes'
tags:
- rust
- name: Install rust and cargo
when: cargo_exists is failed
shell: /tmp/sh.rustup.rs -y
tags:
- rust
- name: Install cargo packages
community.general.cargo:
name:
- git-delta
- dotter
- bottom
- git-cliff
- topgrade
- bat
- cargo-update
- cargo-cache
- garden-tools
state: latest