feat: add ansible/roles/turboquant-deploy/tasks/debian.yml for TurboQuant deployment

This commit is contained in:
2026-04-16 01:50:53 +00:00
parent e46c2b6155
commit 5e7c637bbf

View File

@@ -0,0 +1,23 @@
---
# Debian/Ubuntu-specific tasks
- name: Install dependencies
apt:
name:
- build-essential
- cmake
- git
- python3
- python3-pip
state: present
update_cache: yes
- name: Check for NVIDIA GPU
shell: lspci | grep -i nvidia
register: nvidia_check
failed_when: false
changed_when: false
- name: Set GPU type
set_fact:
gpu_type: "{{ 'nvidia' if nvidia_check.rc == 0 else 'none' }}"