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

This commit is contained in:
2026-04-16 01:50:47 +00:00
parent 8e9afb34fa
commit e46c2b6155

View File

@@ -0,0 +1,19 @@
---
# macOS-specific tasks
- name: Install Homebrew dependencies
homebrew:
name:
- cmake
- git
- python@3.11
state: present
- name: Check for Metal support
command: system_profiler SPDisplaysDataType
register: gpu_info
changed_when: false
- name: Set GPU type
set_fact:
gpu_type: "{{ 'apple' if 'Metal' in gpu_info.stdout else 'none' }}"