소스 검색

Fixing non-HA master restart conditional

Brenton Leanhardt 9 년 전
부모
커밋
5c7b510d2a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      roles/openshift_master/handlers/main.yml

+ 1 - 1
roles/openshift_master/handlers/main.yml

@@ -1,7 +1,7 @@
 ---
 - name: restart master
   service: name={{ openshift.common.service_type }}-master state=restarted
-  when: (openshift.master.ha is defined and not openshift.master.ha | bool) and (not (master_service_status_changed | default(false) | bool))
+  when: (openshift.master.ha is not defined or not openshift.master.ha | bool) and (not (master_service_status_changed | default(false) | bool))
   notify: Verify API Server
 
 - name: restart master api