在 Ansible 中使用 wait_for 命令的问题 我正在使用 Ansible 版本 2.9.9 ,当我使用
-name: wait for port 1433 to open
wait_for:
host: 10.20.30.20
port: "5999"
state: started
timeout: 30
delay: 0
运行剧本时出现以下错误
module_stderr: Exception calling Create with 1 arguments at line.. def _ansiballz_main() An expression was expected after '('. Missing argument in parameter list if scriptdir is not Missing ( after if in if statement