diff --git a/roles/sap_control/tasks/functions/restart_sapstartsrv.yml b/roles/sap_control/tasks/functions/restart_sapstartsrv.yml index 8ea6558..73165c1 100644 --- a/roles/sap_control/tasks/functions/restart_sapstartsrv.yml +++ b/roles/sap_control/tasks/functions/restart_sapstartsrv.yml @@ -33,5 +33,5 @@ register: sap_start_sapstartsrv - name: SAPstartsrv - Wait for 10 seconds for sapstartsrv to initialize - ansible.builtin.pause: - seconds: 10 + ansible.builtin.wait_for: + timeout: 10 diff --git a/roles/sap_control/tasks/main.yml b/roles/sap_control/tasks/main.yml index 2210742..880eec9 100644 --- a/roles/sap_control/tasks/main.yml +++ b/roles/sap_control/tasks/main.yml @@ -96,8 +96,8 @@ verbosity: 1 - name: pause for 10 Seconds - ansible.builtin.pause: - seconds: 10 + ansible.builtin.wait_for: + timeout: 10 # Debugging stuff - name: Display parameters for runtime