Commit 90204f02 authored by nanahira's avatar nanahira

fix

parent 5bcd21c7
Pipeline #929 failed with stage
in 3 minutes and 28 seconds
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
include_tasks: pip.yml include_tasks: pip.yml
- name: nvidia - name: nvidia
include_tasks: nvidia.yml include_tasks: nvidia.yml
when: nvidia_driver_version when: nvidia_driver_version and ansible_os_family == 'Debian'
- name: docker - name: docker
include_tasks: docker.yml include_tasks: docker.yml
when: install_docker when: install_docker
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
], ],
{% endif %} {% endif %}
{% if nvidia_driver_version %} {% if nvidia_driver_version and ansible_os_family == 'Debian' %}
"runtimes": { "runtimes": {
"nvidia": { "nvidia": {
"path": "/usr/bin/nvidia-container-runtime", "path": "/usr/bin/nvidia-container-runtime",
......
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