From 3fbb5164396d2fa1443d6293a3056a42e4771a75 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@clevo" Date: Tue, 25 Apr 2023 23:38:25 +0200 Subject: [PATCH] Remove role rust, it is handled by neovim install --- playbook.yml | 1 - roles/rust/meta/main.yml | 3 --- roles/rust/tasks/main.yml | 28 ---------------------------- 3 files changed, 32 deletions(-) delete mode 100644 roles/rust/meta/main.yml delete mode 100644 roles/rust/tasks/main.yml diff --git a/playbook.yml b/playbook.yml index d988764..557785f 100644 --- a/playbook.yml +++ b/playbook.yml @@ -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} diff --git a/roles/rust/meta/main.yml b/roles/rust/meta/main.yml deleted file mode 100644 index edef5f0..0000000 --- a/roles/rust/meta/main.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -dependencies: - - role: check-sudo diff --git a/roles/rust/tasks/main.yml b/roles/rust/tasks/main.yml deleted file mode 100644 index ed96983..0000000 --- a/roles/rust/tasks/main.yml +++ /dev/null @@ -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"