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 81a3a68..a431124 100644 --- a/roles/sap_control/tasks/main.yml +++ b/roles/sap_control/tasks/main.yml @@ -95,8 +95,8 @@ msg: "{{ sap_facts_register.sap_facts }}" - name: pause for 10 Seconds - ansible.builtin.pause: - seconds: 10 + ansible.builtin.wait_for: + timeout: 10 # Debugging stuff - name: Display parameters for runtime