diff options
author | paulrbr-fl <43074087+paulrbr-fl@users.noreply.github.com> | 2020-06-30 10:47:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-30 10:47:07 +0200 |
commit | 44e55b1d81f5defe28249d6b70b894c1ebad7c91 (patch) | |
tree | d227e10426e446cdd1a6dfaeb73eb13c56308f5f /tasks | |
parent | fa354e658404a6b8f57a5e17c9871931febb8080 (diff) | |
parent | ff807544492f1503ccac99ad6d472057f3d325a7 (diff) | |
download | ansible-clever-44e55b1d81f5defe28249d6b70b894c1ebad7c91.tar.gz ansible-clever-44e55b1d81f5defe28249d6b70b894c1ebad7c91.tar.zst ansible-clever-44e55b1d81f5defe28249d6b70b894c1ebad7c91.zip |
Merge pull request #73 from paulrbr-fl/fix-timeout-on-deploy
fix: prevent crash when the deployment times out
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/deploy.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/deploy.yml b/tasks/deploy.yml index c567981..f9d8408 100644 --- a/tasks/deploy.yml +++ b/tasks/deploy.yml | |||
@@ -75,7 +75,7 @@ | |||
75 | - name: Retry deploy to clever-cloud | 75 | - name: Retry deploy to clever-cloud |
76 | include_tasks: redeploy.yml | 76 | include_tasks: redeploy.yml |
77 | when: | 77 | when: |
78 | - not job_result.rc == 0 | 78 | - not job_result.finished or not job_result.rc == 0 |
79 | - job_result.stderr is defined | 79 | - job_result.stderr is defined |
80 | - job_result.stderr is search("Failed to read git object") | 80 | - job_result.stderr is search("Failed to read git object") |
81 | 81 | ||