diff --git a/roles/ubuntu/tasks/rust.yml b/roles/ubuntu/tasks/rust.yml index e731664..d2b1973 100644 --- a/roles/ubuntu/tasks/rust.yml +++ b/roles/ubuntu/tasks/rust.yml @@ -1,12 +1,12 @@ --- - name: Install Rust (via rustup) - ansible.builtin.shell: set -o pipefail && yes | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs + ansible.builtin.shell: set -o pipefail && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh args: executable: /usr/bin/bash creates: "{{ ansible_env.HOME }}/.cargo/bin/rustc" - name: Install bininstall - ansible.builtin.shell: set -o pipefail &&yes | curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh + ansible.builtin.shell: set -o pipefail && curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash args: executable: /usr/bin/bash @@ -14,3 +14,4 @@ ansible.builtin.shell: set -o pipefail && yes | cargo binstall dioxus-cli args: executable: /usr/bin/bash + ignore_errors: true