Updated readme
diff --git a/tasks/main.yml b/tasks/main.yml index b45f490..f9a57af 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -26,3 +26,12 @@ - name: Provision AMI instances Report debug: var: status + +- name: Waiting for server to initialize + become: no + local_action: + module: wait_for + host: '{{ inventory_hostname }}' + state: started + delay: "{{ start_check_delay | d(15) }}" + timeout: '{{ server_restart_timeout | d(60) }}'