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.
29 lines
849 B
YAML
29 lines
849 B
YAML
---
|
|
- name: Include NVIDIA GPU Exporter setup
|
|
when: nvidia_exporter_enabled | default(true) | bool
|
|
ansible.builtin.include_tasks: nvidia_exporter.yml
|
|
tags:
|
|
- roles::gpu_monitoring::nvidia_exporter
|
|
|
|
- name: Include AMD GPU Exporter setup
|
|
when: amd_exporter_enabled | default(true) | bool
|
|
ansible.builtin.include_tasks: amd_exporter.yml
|
|
tags:
|
|
- roles::gpu_monitoring::amd_exporter
|
|
|
|
- name: Include Llama Exporter setup
|
|
when: llama_exporter_enabled | default(true) | bool
|
|
ansible.builtin.include_tasks: llama_exporter.yml
|
|
tags:
|
|
- roles::gpu_monitoring::llama_exporter
|
|
|
|
- name: Include Prometheus setup
|
|
ansible.builtin.include_tasks: prometheus.yml
|
|
tags:
|
|
- roles::gpu_monitoring::prometheus
|
|
|
|
- name: Include firewall rules
|
|
ansible.builtin.include_tasks: firewall.yml
|
|
tags:
|
|
- roles::gpu_monitoring::firewall
|