memo
- block: - name: restart system shell: sleep 2 && reboot async: 1 poll: 0 - name: wait for startup target local_action: wait_for args: host: '{{ ansible_host }}' port: '{{ ansible_port }}' delay: 60 timeout: 300 when: hogehoge
- block: - name: restart system shell: sleep 2 && reboot async: 1 poll: 0 - name: wait for startup target local_action: wait_for args: host: '{{ ansible_host }}' port: '{{ ansible_port }}' delay: 60 timeout: 300 when: hogehoge