mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2025-12-16 11:27:10 +00:00
17 lines
555 B
YAML
17 lines
555 B
YAML
- name: Adicionar repositório Helm do nvida gpu
|
|
command: >
|
|
helm repo add nvidia https://nvidia.github.io/gpu-operator
|
|
ignore_errors: yes
|
|
|
|
- name: Atualizar repositórios Helm
|
|
command: helm repo update
|
|
|
|
- name: Instalar nvida gpu Driver via Helm
|
|
command: helm upgrade --install nvidia-operator nvidia/gpu-operator --namespace gpu-operator --create-namespace
|
|
register: resultado_nvidia
|
|
environment:
|
|
KUBECONFIG: /home/fenix/.kube/config
|
|
|
|
- name: Mostrar resultado do nvida gpu Driver
|
|
debug:
|
|
var: resultado_nvidia.stdout_lines |