Ansible 在 ver 2.9 中等待模块时给出错误,它给出缺少括号错误

问题描述 投票:0回答:0

在 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
ansible ansible-2.x
© www.soinside.com 2019 - 2024. All rights reserved.