aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/deploy.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/deploy.yml')
-rw-r--r--tasks/deploy.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/tasks/deploy.yml b/tasks/deploy.yml
index 39b5845..0875eae 100644
--- a/tasks/deploy.yml
+++ b/tasks/deploy.yml
@@ -58,21 +58,21 @@
58 chdir: "{{ clever_app_root }}" 58 chdir: "{{ clever_app_root }}"
59 environment: 59 environment:
60 CONFIGURATION_FILE: "{{ clever_login_file }}" 60 CONFIGURATION_FILE: "{{ clever_login_file }}"
61 async: 2400 # 40 minutes 61 async: 3600 # 1 hour
62 poll: 0 62 poll: 0
63 ignore_errors: true 63 ignore_errors: true
64 register: clever_deploy 64 register: clever_deploy
65 tags: 65 tags:
66 - skip_ansible_lint 66 - skip_ansible_lint
67 67
68- name: Wait up to 40 minutes for deployment completion 68- name: Wait up to 1 hour for deployment completion
69 async_status: 69 async_status:
70 jid: "{{ clever_deploy.ansible_job_id }}" 70 jid: "{{ clever_deploy.ansible_job_id }}"
71 register: job_result 71 register: job_result
72 until: job_result.finished 72 until: job_result.finished
73 ignore_errors: true 73 ignore_errors: true
74 delay: 30 74 delay: 30
75 retries: 80 # 40 minutes (80 * 30 secs delay) 75 retries: 120 # 1 hour (120 * 30 secs delay)
76 76
77################################################################## 77##################################################################
78# Re-deploy only if its the first clever deploy for that project # 78# Re-deploy only if its the first clever deploy for that project #