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/go/meta/main.yml | 1 + roles/mise/meta/main.yml | 3 ++- roles/rust/meta/main.yml | 2 ++ roles/rust/tasks/main.yml | 6 ------ 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/roles/go/meta/main.yml b/roles/go/meta/main.yml index 946d0801..19251301 100644 --- a/roles/go/meta/main.yml +++ b/roles/go/meta/main.yml @@ -1,5 +1,6 @@ --- dependencies: + - role: "bash" - role: "mise" galaxy_info: author: "a14m" diff --git a/roles/mise/meta/main.yml b/roles/mise/meta/main.yml index f1c77e7f..e48a7fcd 100644 --- a/roles/mise/meta/main.yml +++ b/roles/mise/meta/main.yml @@ -1,5 +1,6 @@ --- -dependencies: [] +dependencies: + - role: "bash" galaxy_info: author: "a14m" description: "Install mise" 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