We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f98ccac commit 3ebf895Copy full SHA for 3ebf895
infra/ansible/rust.yaml
@@ -1,13 +1,11 @@
1
- name: Rust Setup
2
hosts: all
3
become: true
4
- vars:
5
- user: "{{ user }}"
6
7
pre_tasks:
8
- name: update repositories
9
apt: update_cache=yes
10
- become_user: root
+ become: true
11
changed_when: False
12
tasks:
13
- name: check if cargo is installed
@@ -16,6 +14,7 @@
16
14
ignore_errors: true
17
15
18
- name: Download Installer
+ become_user: "{{ app_user }}"
19
when: cargo_exists is failed
20
get_url:
21
url: https://sh.rustup.rs
@@ -28,6 +27,6 @@
28
27
- name: install rust/cargo
29
30
shell: /tmp/sh.rustup.rs -y
31
- become_user: "{{ user }}"
32
tags:
33
- rust
0 commit comments