aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
authorpaulrbr-fl <43074087+paulrbr-fl@users.noreply.github.com>2020-06-30 10:47:07 +0200
committerGitHub <noreply@github.com>2020-06-30 10:47:07 +0200
commit44e55b1d81f5defe28249d6b70b894c1ebad7c91 (patch)
treed227e10426e446cdd1a6dfaeb73eb13c56308f5f /tasks
parentfa354e658404a6b8f57a5e17c9871931febb8080 (diff)
parentff807544492f1503ccac99ad6d472057f3d325a7 (diff)
downloadansible-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.yml2
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