Commit b2e84a04 authored by nanahira's avatar nanahira

fk nvidia installed gnome for me

parent 0a4c1702
Pipeline #2226 passed with stage
in 5 minutes and 54 seconds
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
apt: apt:
update_cache: true update_cache: true
name: 'git,nvidia-driver-{{ nvidia_driver_version }},nvidia-cuda-dev,nvidia-cuda-doc,nvidia-cuda-gdb,nvidia-cuda-toolkit,nvidia-cuda-toolkit-gcc,nvidia-container-runtime,libnvidia-encode-{{ nvidia_driver_version }},libnvidia-decode-{{ nvidia_driver_version }},libnvidia-fbc1-{{ nvidia_driver_version }}' name: 'git,nvidia-driver-{{ nvidia_driver_version }},nvidia-cuda-dev,nvidia-cuda-doc,nvidia-cuda-gdb,nvidia-cuda-toolkit,nvidia-cuda-toolkit-gcc,nvidia-container-runtime,libnvidia-encode-{{ nvidia_driver_version }},libnvidia-decode-{{ nvidia_driver_version }},libnvidia-fbc1-{{ nvidia_driver_version }}'
install_recommends: false
- name: check detailed driver version - name: check detailed driver version
changed_when: false changed_when: false
shell: nvidia-smi --query-gpu=driver_version --format=csv,noheader,nounits shell: nvidia-smi --query-gpu=driver_version --format=csv,noheader,nounits
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
become: true become: true
apt: apt:
name: nvidia-driver-{{ nvidia_driver_version }} name: nvidia-driver-{{ nvidia_driver_version }}
install_recommends: false
when: nvidia_driver_version | bool when: nvidia_driver_version | bool
- name: upgrade kernel - name: upgrade kernel
include_tasks: 'kernel/{{ansible_distribution}}.yml' include_tasks: 'kernel/{{ansible_distribution}}.yml'
......
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