diff options
Diffstat (limited to 'roles/rust')
| -rw-r--r-- | roles/rust/meta/main.yml | 2 | ||||
| -rw-r--r-- | roles/rust/tasks/main.yml | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/roles/rust/meta/main.yml b/roles/rust/meta/main.yml index af2fe6fa..afabea8b 100644 --- a/roles/rust/meta/main.yml +++ b/roles/rust/meta/main.yml @@ -1,5 +1,7 @@ --- dependencies: + - role: "bash" + - role: "curl" - role: "mise" galaxy_info: author: "a14m" diff --git a/roles/rust/tasks/main.yml b/roles/rust/tasks/main.yml index 9aed97e5..d7ee7ce7 100644 --- a/roles/rust/tasks/main.yml +++ b/roles/rust/tasks/main.yml @@ -20,12 +20,6 @@ changed_when: "'is up to date' not in rust_component_result.stdout" loop: "{{ rust_components }}" -- name: "Remove cargo default shell profile modification" - ansible.builtin.lineinfile: - path: "{{ ansible_facts['env']['HOME'] }}/.bashrc" - line: '. "$HOME/.cargo/env"' - state: "absent" - - name: "Add cargo bin to shell profile" ansible.builtin.blockinfile: path: "{{ ansible_facts['env']['HOME'] }}/.bashrc" |
