Browse Source

install required collections

Grega Bremec 1 year ago
parent
commit
8eb89d9a14
1 changed files with 11 additions and 0 deletions
  1. 11 0
      roles/check-env/tasks/main.yml

+ 11 - 0
roles/check-env/tasks/main.yml

@@ -53,6 +53,17 @@
     name: python38-jmespath
     state: latest
 
+- name: We need some additional collections as well.
+  become: yes
+  yum:
+    name:
+      - ansible-core
+      - ansible-collection-ansible-posix
+      - ansible-collection-ansible-utils
+      - ansible-collection-community-general
+      - ansible-collection-containers-podman
+    state: latest
+
 - name: Verify cluster connectivity
   kubernetes.core.k8s_cluster_info:
     kubeconfig: tmp/kubeconfig-{{ item }}