浏览代码

updating until statments on uri module for api verification

ewolinetz 8 年之前
父节点
当前提交
3045d2d7ae
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      roles/openshift_hosted_logging/handlers/main.yml
  2. 1 1
      roles/openshift_logging/handlers/main.yml

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

@@ -10,7 +10,7 @@
     return_content: yes
     status_code: 200
   register: api_available_output
-  until: "'ok' in api_available_output.content"
+  until: api_available_output | succeeded
   retries: 120
   delay: 1
   changed_when: false

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

@@ -10,7 +10,7 @@
     return_content: yes
     status_code: 200
   register: api_available_output
-  until: "'ok' in api_available_output.content"
+  until: api_available_output | succeeded
   retries: 120
   delay: 1
   changed_when: false