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 | |
| parent | a285aa06525c3e9031ec4836ab7ecc915f194723 (diff) | |
Fix mise role dependencies (where it's used with other languages)
| -rw-r--r-- | roles/go/meta/main.yml | 1 | ||||
| -rw-r--r-- | roles/mise/meta/main.yml | 3 | ||||
| -rw-r--r-- | roles/rust/meta/main.yml | 2 | ||||
| -rw-r--r-- | 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" |
