Explorar o código

Merge pull request #8573 from vrutkovs/etcd-scaleup-prepull

Skip prepull status check when etcd is being scaled up
OpenShift Merge Robot %!s(int64=6) %!d(string=hai) anos
pai
achega
de8719f969
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      roles/openshift_control_plane/tasks/main.yml

+ 4 - 1
roles/openshift_control_plane/tasks/main.yml

@@ -158,7 +158,10 @@
     jid: "{{ etcd_prepull.ansible_job_id }}"
   register: job_result
   until: job_result.finished
-  when: etcd_image_exists.stdout_lines == []
+  when:
+  - etcd_image_exists is defined
+  - "'stdout_lines' in etcd_image_exists"
+  - etcd_image_exists.stdout_lines == []
   retries: 30
 
 - name: Start and enable self-hosting node