wait_for_host
!wait_for_host
Category: control
Poll the target over SSH until it responds, useful after provisioning VMs/LXCs. Fails on timeout.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
timeout | int | no | Maximum seconds to wait for connectivity. Default 300. |
delay | int | no | Seconds between retry attempts. Default 5. |
Examples
- !wait_for_host
name: Wait for new VM to accept SSH
timeout: 600
delay: 10