fix: remove Rust tasks and related configuration from global Ansible setup
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 27s
Nix Format Check / check-format (push) Failing after 1m22s
Python Lint Check / check-python (push) Failing after 19s

This commit is contained in:
2025-07-15 23:11:43 +00:00
parent 482d62dde4
commit c6b685c5f8
2 changed files with 0 additions and 28 deletions

View File

@@ -12,10 +12,6 @@
become: true
when: "'microsoft-standard-WSL2' not in ansible_kernel"
- name: Include Rust tasks
ansible.builtin.import_tasks: tasks/global/rust.yml
become: true
- name: Include Docker tasks
ansible.builtin.import_tasks: tasks/global/docker.yml
become: true

View File

@@ -1,24 +0,0 @@
---
- name: Check if Rust is installed
ansible.builtin.shell: source $HOME/.cargo/env && rustc --version
register: rust_check
changed_when: false
failed_when: false
args:
executable: /bin/bash
- name: Download Rust installation script
ansible.builtin.get_url:
url: https://sh.rustup.rs
dest: /tmp/rustup.sh
mode: "0755"
when: rust_check.rc != 0
- name: Install Rust and Cargo
ansible.builtin.shell: |
set -o pipefail
/tmp/rustup.sh -y
args:
executable: /bin/bash
creates: ~/.cargo/bin/rustc
when: rust_check.rc != 0