diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-03-04 02:34:28 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-03-04 02:34:28 +0100 |
| commit | 65cd427c0ddcb48b35cc0baaee978e3a131ceeb9 (patch) | |
| tree | 722578f6b67cbef96ab24c507bca9be3db7ddbbe /roles/rust | |
| parent | a285aa06525c3e9031ec4836ab7ecc915f194723 (diff) | |
Fix mise role dependencies (where it's used with other languages)
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" |
