----hosts:alltasks:-name:restart machineshell:sleep 2 && shutdown -r now "Ansible updates triggered"async:1poll:0ignore_errors:true-name:waiting for server to come backlocal_action:wait_for host="{{ ansible_ssh_host }}"port="{{ ansible_ssh_port }}"state=starteddelay=60timeout=180sudo:false