diff --git a/ansible/roles/rust/tasks/linux.yaml b/ansible/roles/rust/tasks/linux.yaml index 3047d23..6298c49 100644 --- a/ansible/roles/rust/tasks/linux.yaml +++ b/ansible/roles/rust/tasks/linux.yaml @@ -4,4 +4,5 @@ - rustup - lldb # for lldb-vscode - musl # for building static binaries + - rust-analyzer state: present diff --git a/ansible/roles/rust/tasks/peruser_linux.yaml b/ansible/roles/rust/tasks/peruser_linux.yaml index f0efa38..8298f1c 100644 --- a/ansible/roles/rust/tasks/peruser_linux.yaml +++ b/ansible/roles/rust/tasks/peruser_linux.yaml @@ -14,11 +14,6 @@ args: creates: "{{ account_homedir.stdout }}/.rustup/toolchains/nightly-{{ rust_date }}-x86_64-unknown-linux-gnu/lib/rustlib/manifest-rust-src" -- name: Install the nightly rust-analyzer - command: rustup component add rust-analyzer - args: - creates: "{{ account_homedir.stdout }}/.rustup/toolchains/nightly-{{ rust_date }}-x86_64-unknown-linux-gnu/bin/rust-analyzer" - - name: Create directories file: name: "{{ account_homedir.stdout }}/{{ item }}"