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

193 lines
4.8 KiB
YAML
Raw Normal View History

2021-04-16 12:59:28 -04:00
---
- 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"
2021-04-16 12:59:28 -04:00
args:
warn: False
creates: "{{ ansible_env.HOME }}/.cargo/bin/rustup"
2021-08-16 12:27:18 -04:00
- name: install ag
command: cargo install ag
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/agrind"
2021-04-16 12:59:28 -04:00
- name: install amber
command: cargo install amber
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/ambr"
2021-06-21 07:55:42 -04:00
- name: install atiun
command: cargo install atuin
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/atuin"
2021-04-16 12:59:28 -04:00
- 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
2021-04-16 12:59:28 -04:00
when: ansible_facts['system']|lower == 'linux'
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/btm"
2021-06-21 07:55:42 -04:00
- name: install broot
command: cargo install broot
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/broot"
2021-04-16 12:59:28 -04:00
- 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 frawk freebsd
shell: LLVM_SYS_100_PREFIX=/usr/local/llvm10 cargo +nightly install frawk
when: ansible_facts['system']|lower == 'freebsd'
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/frawk"
- name: install frawk linux
shell: LLVM_SYS_100_PREFIX=/usr/lib64/llvm10 cargo +nightly install frawk
2021-04-16 12:59:28 -04:00
when: ansible_facts['system']|lower == 'linux'
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/frawk"
- 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"
2021-05-10 13:12:52 -04:00
- name: install just
command: cargo install just
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/just"
2021-04-16 12:59:28 -04:00
- 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"
2021-06-21 07:55:42 -04:00
- name: install mcfly
command: cargo install mcfly
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/mcfly"
2021-04-16 12:59:28 -04:00
- 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"
2021-06-21 07:55:42 -04:00
- name: install search-and-displace
command: cargo install sd
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/sd"
2021-04-16 12:59:28 -04:00
- name: install stargazer
command: cargo install stargazer
when: ansible_facts['system']|lower == 'linux'
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/stargazer"
2021-06-21 07:55:42 -04:00
- name: install tealdeer
command: cargo install tealdeer
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/tldr"
2021-04-16 12:59:28 -04:00
- 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"
2021-06-21 07:55:42 -04:00
- name: install xh
command: cargo install xh
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/xh"
2021-04-16 12:59:28 -04:00
- name: install ytop
command: cargo install ytop
when: ansible_facts['system']|lower == 'linux'
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/ytop"
2021-06-21 07:55:42 -04:00
- name: install zoxide
command: cargo install zoxide
args:
creates: "{{ ansible_env.HOME }}/.cargo/bin/z"