2016-09-30 13 views

答えて

8

これにはwait_forモジュールがあります。
target.hostremote.host:8080にアクセスできることを確認するには:

- hosts: target.host 
    tasks: 
    - wait_for: host=remote.host port=8080 timeout=1 
    - debug: msg=ok 

マニュアルの他の例がたくさんあります。

関連する問題