Add recommended curl options to rustup

This commit is contained in:
2022-06-30 06:38:05 +02:00
parent 79a9c7eebd
commit 504e6784da

View File

@@ -419,7 +419,7 @@
when: distro == 'archlinux' when: distro == 'archlinux'
- name: install rustup on ubuntu - name: install rustup on ubuntu
shell: curl https://sh.rustup.rs -sSf | sh -s -- -y --profile=minimal shell: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal
args: args:
creates: /var/lib/rust_build/.cargo/bin/rustup creates: /var/lib/rust_build/.cargo/bin/rustup
become: true become: true