Commit 9b2228f8 authored by David Desscan's avatar David Desscan
Browse files

change in downloading deb package process and overwrite cuda library

parent 0a50fec3
---
# tasks file for ansible_gpu_exporter
- name: Download deb package
get_url:
url: "{{ s3_base_url }}/datacenter-gpu-manager_1.7.2_amd64.deb"
dest: "/tmp/datacenter-gpu-manager_1.7.2_amd64.deb"
mode: '0770'
- name: Install deb package requirements
apt:
deb: https://{{ s3_base_url }}/datacenter-gpu-manager_1.7.2_amd64.deb
deb: "/tmp/datacenter-gpu-manager_1.7.2_amd64.deb"
force: yes
- name: Check montools temp folder
become: yes
......@@ -16,7 +23,7 @@
path: "{{ tmp_montools }}"
state: directory
mode: "0755"
when: montools_tmp.stat.exists == False
when: montools_tmp.stat.exists == False
- name: check that gpu_montools.zip is not already downloaded
stat:
......@@ -41,7 +48,7 @@
chdir: "{{ tmp_montools }}/gpu_montools"
target: install
file: "{{ tmp_montools }}/gpu_montools/Makefile"
become: yes
become: yes
- name: enable and start prometheus-dcgm.service
systemd:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment