Kon*_*rov 15
这有wait_for模块.
要检查target.host可以访问remote.host:8080:
- hosts: target.host
tasks:
- wait_for: host=remote.host port=8080 timeout=1
- debug: msg=ok
Run Code Online (Sandbox Code Playgroud)
文档中还有很多其他示例.
| 归档时间: |
|
| 查看次数: |
16498 次 |
| 最近记录: |