diff options
Diffstat (limited to 'tasks/deploy.yml')
-rw-r--r-- | tasks/deploy.yml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tasks/deploy.yml b/tasks/deploy.yml index cc15050..c03dd4d 100644 --- a/tasks/deploy.yml +++ b/tasks/deploy.yml | |||
@@ -31,8 +31,6 @@ | |||
31 | environment: | 31 | environment: |
32 | CONFIGURATION_FILE: "{{ clever_login_file }}" | 32 | CONFIGURATION_FILE: "{{ clever_login_file }}" |
33 | register: clever_deploy | 33 | register: clever_deploy |
34 | async: 900 # 15 minutes timeout | ||
35 | poll: 30 | ||
36 | ignore_errors: true | 34 | ignore_errors: true |
37 | tags: | 35 | tags: |
38 | - skip_ansible_lint | 36 | - skip_ansible_lint |
@@ -55,8 +53,6 @@ | |||
55 | CONFIGURATION_FILE: "{{ clever_login_file }}" | 53 | CONFIGURATION_FILE: "{{ clever_login_file }}" |
56 | when: clever_deploy is failed | 54 | when: clever_deploy is failed |
57 | register: clever_deploy | 55 | register: clever_deploy |
58 | async: 900 # 15 minutes timeout | ||
59 | poll: 30 | ||
60 | ignore_errors: true | 56 | ignore_errors: true |
61 | tags: | 57 | tags: |
62 | - skip_ansible_lint | 58 | - skip_ansible_lint |
@@ -67,7 +63,7 @@ | |||
67 | 63 | ||
68 | - name: Return deployment errors | 64 | - name: Return deployment errors |
69 | debug: | 65 | debug: |
70 | var: clever_deploy.stderr | 66 | var: clever_deploy.stderr|default(clever_deploy) |
71 | when: clever_deploy is failed | 67 | when: clever_deploy is failed |
72 | 68 | ||
73 | - name: Fail on deployment errors | 69 | - name: Fail on deployment errors |