diff --git a/rust.yml b/rust.yml index 897b4fc..4291410 100644 --- a/rust.yml +++ b/rust.yml @@ -1,6 +1,6 @@ --- - 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" + 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" args: warn: False creates: "{{ ansible_env.HOME }}/.cargo/bin/rustup"