소스 검색

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