Skip to content

Commit

Permalink
docker: cleanup old nvidia-container-toolkit.list to avoid conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
saltydk committed Aug 28, 2024
1 parent 20969b3 commit 92ce179
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/docker/tasks/subtasks/nvidia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
ansible.builtin.file:
path: "{{ nvidia_docker_runtime_apt_repo_file_old }}"
state: absent
loop:
- "/etc/apt/sources.list.d/nvidia-container-toolkit.list"
- "{{ nvidia_docker_runtime_apt_repo_file_old }}"

- name: Nvidia | Add 'nvidia-container-toolkit' APT Repo Key
ansible.builtin.get_url:
Expand Down

0 comments on commit 92ce179

Please sign in to comment.