deprecate ansible/rust in favor of aqua
This commit is contained in:
parent
b89cc884be
commit
f908ca73da
2 changed files with 8 additions and 36 deletions
|
|
@ -1,36 +0,0 @@
|
|||
---
|
||||
# rust install, shamelessly stolen from https://waylonwalker.com/install-rust/
|
||||
- name: Check if cargo is installed
|
||||
ansible.builtin.command: ls ~/.cargo
|
||||
register: cargo_exists
|
||||
ignore_errors: true
|
||||
|
||||
- name: Download rust installer
|
||||
when: cargo_exists is failed
|
||||
ansible.builtin.get_url:
|
||||
url: https://sh.rustup.rs
|
||||
dest: /tmp/sh.rustup.rs
|
||||
mode: "0755"
|
||||
force: "yes"
|
||||
|
||||
- name: Install rust and cargo
|
||||
when: cargo_exists is failed
|
||||
ansible.builtin.command: /tmp/sh.rustup.rs -y
|
||||
|
||||
- name: Install cargo packages
|
||||
community.general.cargo:
|
||||
name:
|
||||
- git-delta
|
||||
- dotter
|
||||
- bottom
|
||||
- git-cliff
|
||||
- topgrade
|
||||
- bat
|
||||
- cargo-update
|
||||
- cargo-cache
|
||||
- garden-tools
|
||||
- b3sum
|
||||
- difftastic
|
||||
- du-dust
|
||||
- zellij
|
||||
state: latest
|
||||
Loading…
Add table
Add a link
Reference in a new issue