From 65cd427c0ddcb48b35cc0baaee978e3a131ceeb9 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Wed, 4 Mar 2026 02:34:28 +0100 Subject: Fix mise role dependencies (where it's used with other languages) --- roles/rust/meta/main.yml | 2 ++ roles/rust/tasks/main.yml | 6 ------ 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'roles/rust') 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" -- cgit v1.2.3