350650ecc2
- Create systemd service templates for llama_exporter, nvidia_exporter, and podman. - Add Prometheus configuration template for GPU metrics scraping. - Introduce variables for GPU monitoring role in main.yml. - Implement tasks for syncing llama models, including user setup and package installation. - Update podman tasks to ensure proper sudo access and lingering for the podman user. - Modify inventory to include gpu_monitoring group. - Add Terraform modules for deploying Vaultwarden, including ingress and service configurations. - Create Grafana dashboard for real-time GPU monitoring metrics. - Update secrets and environment files to include Vaultwarden admin token.
19 lines
411 B
YAML
19 lines
411 B
YAML
---
|
|
- name: GPU Monitoring Stack Setup
|
|
hosts: gpu_monitoring
|
|
gather_facts: true
|
|
become: true
|
|
|
|
pre_tasks:
|
|
- name: Check that host is Fedora
|
|
ansible.builtin.assert:
|
|
that:
|
|
- ansible_os_family == "RedHat"
|
|
fail_msg: "This playbook only supports RedHat-family OS (Fedora)."
|
|
|
|
roles:
|
|
- role: "gpu_monitoring"
|
|
tags:
|
|
- roles
|
|
- roles::gpu_monitoring
|