aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/deploy.yml
diff options
context:
space:
mode:
authorantoine-fl <antoine.vandecreme@fretlink.com>2021-06-03 11:58:52 +0200
committerGitHub <noreply@github.com>2021-06-03 11:58:52 +0200
commit9acacc758eb866c88be1cb3d5867efdad1e79428 (patch)
tree0acb1fcfcbc0f2242fc3a8f9c8b214a7dddcb4f2 /tasks/deploy.yml
parente38cc06337f74c4ab841e09e4be254ddbf3faab7 (diff)
parent32a91c16e473521bb2b9b7303752fb2cae7906b6 (diff)
downloadansible-clever-2.10.tar.gz
ansible-clever-2.10.tar.zst
ansible-clever-2.10.zip
Merge pull request #79 from antoine-fl/bump_clever_waiting_timev2.10
Bump clever waiting time to 1 hour
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 #