diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-10-06 04:37:01 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-10-06 04:37:01 +0200 |
commit | b17d3d74eb5a9e7640d94f98f6b27ce4891b3c26 (patch) | |
tree | 35b03ed3f6349de7db2482761ff6295aee5ae813 /roles/docker/tasks/configure_apt.yml | |
parent | 1c830e285e19f2d571cf50ef912f01f0f7d68e10 (diff) | |
download | itm-b17d3d74eb5a9e7640d94f98f6b27ce4891b3c26.tar.gz itm-b17d3d74eb5a9e7640d94f98f6b27ce4891b3c26.tar.bz2 itm-b17d3d74eb5a9e7640d94f98f6b27ce4891b3c26.tar.xz itm-b17d3d74eb5a9e7640d94f98f6b27ce4891b3c26.zip |
Integration of CentOS8 and ipecompute nodes
Diffstat (limited to 'roles/docker/tasks/configure_apt.yml')
-rw-r--r-- | roles/docker/tasks/configure_apt.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/docker/tasks/configure_apt.yml b/roles/docker/tasks/configure_apt.yml new file mode 100644 index 0000000..3fd961a --- /dev/null +++ b/roles/docker/tasks/configure_apt.yml @@ -0,0 +1,15 @@ +--- +# tasks file for ansible-role-cuda +- name: Trust packaging key for Nvidia repositories (apt) + apt_key: + data: "{{ lookup('file', 'files/nvidia_docker_packaging_key.asc') }}" + id: "{{ nvidia_docker_packaging_key_id }}" + state: present + +- name: Configure Nvidia repository (apt) + apt_repository: + repo: "deb {{ nvidia_docker_repo_url }}/{{ nvidia_docker_repo_subfolder }} /" + filename: nvidia_docker + state: present + +# vim:ft=ansible: |