Browse Source

Install cri-tools and podman

Scott Dodson 6 years ago
parent
commit
bc1d1e7106
1 changed files with 6 additions and 1 deletions
  1. 6 1
      roles/container_runtime/tasks/package_crio.yml

+ 6 - 1
roles/container_runtime/tasks/package_crio.yml

@@ -32,10 +32,15 @@
 
 
 - name: Install cri-o
 - name: Install cri-o
   package:
   package:
-    name: "cri-o"
+    name: "{{ crio_pkgs | join(',') }}"
     state: present
     state: present
   register: result
   register: result
   until: result is succeeded
   until: result is succeeded
+  vars:
+    crio_pkgs:
+      - "cri-o"
+      - "cri-tools"
+      - "podman"
 
 
 - name: Remove CRI-O default configuration files
 - name: Remove CRI-O default configuration files
   file:
   file: