diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-08-23 21:32:19 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-08-23 21:32:19 +0300 |
commit | 8a9c9c72e96101020bb58110292c6bcdaf5cc8a5 (patch) | |
tree | a0651c95ec03c732333321ec02ab38e674d680e2 /ansible/roles/rust-rustup | |
parent | b86d270afc82ffb7f28ed7e78f5a03f005b3ad54 (diff) | |
download | ansibleness-8a9c9c72e96101020bb58110292c6bcdaf5cc8a5.tar.gz |
add subplot-dev
Sponsored-by: author
Diffstat (limited to 'ansible/roles/rust-rustup')
-rw-r--r-- | ansible/roles/rust-rustup/tasks/main.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ansible/roles/rust-rustup/tasks/main.yml b/ansible/roles/rust-rustup/tasks/main.yml index 3cba2d7..be3853f 100644 --- a/ansible/roles/rust-rustup/tasks/main.yml +++ b/ansible/roles/rust-rustup/tasks/main.yml @@ -1,5 +1,10 @@ +- 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 |