Skip to content

Commit

Permalink
copy pin file to apt preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
ajdecon committed Jan 7, 2020
1 parent 98333a5 commit c2b8020
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tasks/install-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
repo: ppa:graphics-drivers/ppa
state: absent

- name: add pin file
copy:
src: "cuda-ubuntu.pin"
dest: "/etc/apt/preferences.d/cuda-repository-pin-600"
owner: "root"
group: "root"
mode: "0644"

- name: add key
apt_key:
url: "{{ nvidia_driver_ubuntu_cuda_repo_gpgkey_url }}"
Expand Down

0 comments on commit c2b8020

Please sign in to comment.