blob: f49f27c8e940f15b43045bcbd32837a1e6a07803 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
- name: "install curl"
apt:
name: curl
state: present
- name: "install Rust toolchain using rustup"
shell: |
set -eu
if command -v rustup > /dev/null
then
sudo -u liw rustup update
else
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/rustup.sh
sudo -u liw -i sh /tmp/rustup.sh -y
fi
sudo -u liw -i rustup component add clippy
|