--- - name: install rustup command: /bin/bash -c "curl -sSf -o rustup_init https://sh.rustup.rs && /bin/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 amber command: cargo install amber args: creates: "{{ ansible_env.HOME }}/.cargo/bin/ambr" - 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 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 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" - 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 mdbook command: cargo install mdbook args: creates: "{{ ansible_env.HOME }}/.cargo/bin/mdbook" - name: install ncgopher command: cargo install ncgopher args: creates: "{{ ansible_env.HOME }}/.cargo/bin/ncgopher" - name: install rg command: cargo install ripgrep args: creates: "{{ ansible_env.HOME }}/.cargo/bin/rg" - name: install stargazer command: cargo install stargazer when: ansible_facts['system']|lower == 'linux' args: creates: "{{ ansible_env.HOME }}/.cargo/bin/stargazer" - 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 ytop command: cargo install ytop when: ansible_facts['system']|lower == 'linux' args: creates: "{{ ansible_env.HOME }}/.cargo/bin/ytop"