Skip to content

Commit

Permalink
Merge pull request #142 from rayashworth/update-error-checking
Browse files Browse the repository at this point in the history
change "error" to "failed"
  • Loading branch information
rayashworth authored Apr 23, 2021
2 parents 1aae837 + 7b036ad commit 5c09a0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
return_content: yes
changed_when: false
register: cluster_status_response
until: (cluster_status_response.status == 200) and cluster_status_response.json is defined and (cluster_status_response.json.clusters[0].deployment_status =="deployed" or cluster_status_response.json.clusters[0].deployment_status == "error")
until: (cluster_status_response.status == 200) and cluster_status_response.json is defined and (cluster_status_response.json.clusters[0].deployment_status =="deployed" or cluster_status_response.json.clusters[0].deployment_status == "failed")
retries: 600
delay: 20

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
return_content: yes
changed_when: false
register: cluster_status_response
until: (cluster_status_response.status == 200) and cluster_status_response.json is defined and (cluster_status_response.json.clusters[0].deployment_status =="deployed" or cluster_status_response.json.clusters[0].deployment_status == "error")
until: (cluster_status_response.status == 200) and cluster_status_response.json is defined and (cluster_status_response.json.clusters[0].deployment_status =="deployed" or cluster_status_response.json.clusters[0].deployment_status == "failed")
retries: 600
delay: 20

Expand Down

0 comments on commit 5c09a0c

Please sign in to comment.