This repository has been archived on 2021-09-08. You can view files and clone it, but cannot push or open issues/pull-requests.
localdev-playbooks/rust.yml

186 lines
4.5 KiB
YAML

---
- name: install rustup
command: /usr/bin/env bash -c "curl -sSf -o rustup_init https://sh.rustup.rs && /usr/bin/env bash rustup_init --no-modify-path --verbose -y --default-toolchain stable && rm -f rustup_init && source ~/.cargo/env && rustup install nightly"
args:
warn: False
creates: "{{ ansible_env.HOME }}/.cargo/bin/rustup"
- name: install ag
command: cargo install ag
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/agrind"
- name: install amber
command: cargo install amber
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/ambr"
- name: install atiun
command: cargo install atuin
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/atuin"
- name: install basic-http-server
command: cargo install basic-http-server
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/basic-http-server"
- name: install bat
command: cargo install bat
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/bat"
- name: install bottom
command: cargo install bottom
when: ansible_facts['system']|lower == 'linux'
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/btm"
- name: install broot
command: cargo install broot
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/broot"
- name: install choose
command: cargo install choose
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/choose"
- name: install delta
command: cargo install git-delta
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/delta"
- name: install dust
command: cargo install du-dust
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/dust"
- name: install endbasic
command: cargo install endbasic
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/endbasic"
- name: install exa
command: cargo install exa
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/exa"
- name: install fd
command: cargo install fd-find
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/fd"
- name: install flamegraph
command: cargo install flamegraph
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/flamegraph"
- name: install git-gone
command: cargo install git-gone
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/git-gone"
- name: install gitui
command: cargo install gitui
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/gitui"
- name: install gget
command: cargo install gget
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/gget"
- name: install grex
command: cargo install grex
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/grex"
- name: install hexyl
command: cargo install hexyl
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/hexyl"
- name: install hyperfine
command: cargo install hyperfine
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/hyperfine"
- name: install just
command: cargo install just
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/just"
- name: install kondo
command: cargo install kondo
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/kondo"
- name: install kubie
command: cargo install kubie
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/kubie"
- name: install lsd
command: cargo install lsd
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/lsd"
- name: install mcfly
command: cargo install mcfly
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/mcfly"
- name: install mdbook
command: cargo install mdbook
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/mdbook"
- name: install rg
command: cargo install ripgrep
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/rg"
- name: install search-and-displace
command: cargo install sd
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/sd"
- name: install stargazer
command: cargo install stargazer
when: ansible_facts['system']|lower == 'linux'
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/stargazer"
- name: install tealdeer
command: cargo install tealdeer
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/tldr"
- name: install wasm-pack
command: cargo install wasm-pack
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/wasm-pack"
- name: install xcp
command: cargo install xcp
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/xcp"
- name: install xh
command: cargo install xh
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/xh"
- name: install ytop
command: cargo install ytop
when: ansible_facts['system']|lower == 'linux'
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/ytop"
- name: install zoxide
command: cargo install zoxide
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/z"