You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: roles/sap_control/tasks/sapcontrol_async.yml
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
- name: Pause for 5 Seconds
3
3
ansible.builtin.wait_for:
4
-
timeout: 5
4
+
timeout: 15
5
5
6
6
- name: SAP {{ sap_control_name_header }} - Checking if Async action is over by executing sapcontrol -nr {{ passed_sap_nr }} -function {{ async_function_dict.test_function }}
7
7
ansible.builtin.shell: |
@@ -11,15 +11,13 @@
11
11
become: true
12
12
become_user: "{{ passed_sap_sid | lower }}adm"
13
13
register: test_function_result
14
-
# failed_when: "'FAIL' in test_function_result.stdout"
15
14
retries: "{{ async_function_dict.retries | default(0) | int }}"
16
15
delay: "{{ async_function_dict.delay | default(0) | int }}"
17
16
until: >
18
17
(async_function_dict.until_false is not defined
19
18
or async_function_dict.until_false is defined and not test_function_result.stdout | regex_search(async_function_dict.until_false, multiline=True)) and
20
19
(async_function_dict.until_true is not defined or
21
20
async_function_dict.until_true is defined and test_function_result.stdout | regex_search(async_function_dict.until_true, multiline=True))
0 commit comments