Explorar el Código

upgrade: skip restart during double upgrade

Vadim Rutkovsky hace 7 años
padre
commit
9c7cc39e6a
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      playbooks/openshift-master/private/validate_restart.yml

+ 3 - 1
playbooks/openshift-master/private/validate_restart.yml

@@ -61,4 +61,6 @@
     - exists.stat.exists and openshift.common.rolling_restart_mode == 'system'
   - set_fact:
       current_host: "{{ exists.stat.exists }}"
-    when: openshift.common.rolling_restart_mode == 'system'
+    when:
+    - "'stat' in exists"
+    - openshift.common.rolling_restart_mode == 'system'