Remove role rust, it is handled by neovim install
This commit is contained in:
parent
8ef64a608f
commit
3fbb516439
3 changed files with 0 additions and 32 deletions
|
@ -28,7 +28,6 @@
|
|||
- {role: lilypond, tags: lilypond}
|
||||
- {role: latex, tags: latex}
|
||||
- {role: powershell, tags: powershell}
|
||||
- {role: rust, tags: rust}
|
||||
- {role: protonvpn, tags: protonvpn}
|
||||
- {role: repos, tags: repos}
|
||||
- {role: libvirt, tags: libvirt}
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
---
|
||||
dependencies:
|
||||
- role: check-sudo
|
|
@ -1,28 +0,0 @@
|
|||
---
|
||||
- name: Check if ~/.cargo exists
|
||||
ansible.builtin.stat:
|
||||
path: ~/.cargo
|
||||
register: cargo_dir
|
||||
|
||||
- name: Uninstall rustup if installed without package manager
|
||||
ansible.builtin.command: rustup self uninstall
|
||||
when: cargo_dir.stat.exists
|
||||
|
||||
- name: Install rust (Archlinux)
|
||||
become: true
|
||||
community.general.pacman:
|
||||
name:
|
||||
- rustup
|
||||
when: ansible_facts['distribution'] == 'Archlinux'
|
||||
|
||||
- name: Install rust (Debian)
|
||||
become: true
|
||||
ansible.builtin.apt:
|
||||
name:
|
||||
- rustup
|
||||
when: ansible_facts['distribution'] == 'Debian'
|
||||
|
||||
- name: Setup rustup stable
|
||||
ansible.builtin.command: rustup default stable
|
||||
register: result
|
||||
changed_when: "'using existing install' not in result.stderr"
|
Loading…
Add table
Reference in a new issue