summaryrefslogtreecommitdiffstats
path: root/roles/docker/tasks/install_podman.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/docker/tasks/install_podman.yml')
-rw-r--r--roles/docker/tasks/install_podman.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/docker/tasks/install_podman.yml b/roles/docker/tasks/install_podman.yml
new file mode 100644
index 0000000..3498aa7
--- /dev/null
+++ b/roles/docker/tasks/install_podman.yml
@@ -0,0 +1,12 @@
+- name: Install docker packages
+ package: name="{{ item }}" state=present
+ with_items:
+ - podman
+ - buildah
+ - skopeo
+
+- name: Install NVIDIA packages
+ package: name="{{ item }}" state=present
+ with_items:
+ - nvidia-container-runtime
+ when: "'cuda' in group_names"