aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tasks/deploy.yml6
-rw-r--r--tasks/redeploy.yml6
2 files changed, 6 insertions, 6 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 #
diff --git a/tasks/redeploy.yml b/tasks/redeploy.yml
index 38068da..fbfebf3 100644
--- a/tasks/redeploy.yml
+++ b/tasks/redeploy.yml
@@ -16,18 +16,18 @@
16 chdir: "{{ clever_app_root }}" 16 chdir: "{{ clever_app_root }}"
17 environment: 17 environment:
18 CONFIGURATION_FILE: "{{ clever_login_file }}" 18 CONFIGURATION_FILE: "{{ clever_login_file }}"
19 async: 2400 # 40 minutes 19 async: 3600 # 1 hour
20 poll: 0 20 poll: 0
21 ignore_errors: true 21 ignore_errors: true
22 register: clever_deploy 22 register: clever_deploy
23 tags: 23 tags:
24 - skip_ansible_lint 24 - skip_ansible_lint
25 25
26- name: Wait up to 40 minutes for deployment completion 26- name: Wait up to 1 hour for deployment completion
27 async_status: 27 async_status:
28 jid: "{{ clever_deploy.ansible_job_id }}" 28 jid: "{{ clever_deploy.ansible_job_id }}"
29 register: job_result 29 register: job_result
30 until: job_result.finished 30 until: job_result.finished
31 ignore_errors: true 31 ignore_errors: true
32 delay: 30 32 delay: 30
33 retries: 80 # 40 minutes (80 * 30 secs delay) 33 retries: 120 # 1 hour (120 * 30 secs delay)