Skip to content

Instantly share code, notes, and snippets.

@jonathanmedd
Created November 8, 2019 19:44
Show Gist options
  • Save jonathanmedd/6a14d7001246987b2828829c771d780f to your computer and use it in GitHub Desktop.
Save jonathanmedd/6a14d7001246987b2828829c771d780f to your computer and use it in GitHub Desktop.
_7_reboot_and_wait.yml
---
- hosts: all
tasks:
- name: Reboot VM
win_reboot:
- name: Wait default 300 seconds for port 3389 to become open, don't start checking for 15 seconds
win_wait_for:
port: 3389
delay: 15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment