浏览代码

Fix GCP master haproxy install check

Was failing if package was already installed.
Clayton Coleman 7 年之前
父节点
当前提交
b81dda8e92
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      roles/openshift_gcp/tasks/configure_master_healthcheck.yml

+ 1 - 1
roles/openshift_gcp/tasks/configure_master_healthcheck.yml

@@ -8,7 +8,7 @@
 - name: install haproxy
   package: name=haproxy state=present
   register: result
-  until: '"failed" not in result'
+  until: result is succeeded
   retries: 10
   delay: 10