diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-10-24 10:33:22 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-10-24 10:33:22 +0300 |
commit | 1c3ebff6f7308b6bcf488b34b8b7257383af11d0 (patch) | |
tree | c57445aefec53679f1604ac7a1af7e0361e6dfeb /ansible/roles/rust-rustup/tasks/main.yml | |
parent | b6a43e167fc3c9ebd926f0fce3b9762d72c0a190 (diff) | |
download | ansibleness-1c3ebff6f7308b6bcf488b34b8b7257383af11d0.tar.gz |
rust-rustup: upgrade rustup itself
Sponsored-by: author
Diffstat (limited to 'ansible/roles/rust-rustup/tasks/main.yml')
-rw-r--r-- | ansible/roles/rust-rustup/tasks/main.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ansible/roles/rust-rustup/tasks/main.yml b/ansible/roles/rust-rustup/tasks/main.yml index 041e912..9597975 100644 --- a/ansible/roles/rust-rustup/tasks/main.yml +++ b/ansible/roles/rust-rustup/tasks/main.yml @@ -14,6 +14,7 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/rustup.sh sudo -u liw -i sh /tmp/rustup.sh -y --no-modify-path fi + sudo -u liw -i /home/liw/.cargo/bin/rustup self update sudo -u liw -i /home/liw/.cargo/bin/rustup component add clippy rust-src - name: "cargo install applications" when: rustup_cargo_install is defined |