Pārlūkot izejas kodu

Merge pull request #11947 from mtnbikenc/fix-1760665

Bug 1760665: Ensure cri-o is upgraded
OpenShift Merge Robot 5 gadi atpakaļ
vecāks
revīzija
a84b4ada5f
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      roles/openshift_node/tasks/install.yml

+ 2 - 1
roles/openshift_node/tasks/install.yml

@@ -2,6 +2,7 @@
 - name: Install openshift support packages
   package:
     name: "{{ openshift_node_support_packages | join(',') }}"
+    state: latest
     update_cache: true
   async: 3600
   poll: 30
@@ -47,7 +48,7 @@
   - name: Install openshift packages
     package:
       name: "{{ openshift_node_packages | join(',') }}"
-      state: present
+      state: latest
     async: 3600
     poll: 30
     register: result