diff options
Diffstat (limited to 'tasks/redeploy.yml')
-rw-r--r-- | tasks/redeploy.yml | 6 |
1 files changed, 3 insertions, 3 deletions
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) |