wait_for not seeing port open up

Hi,
My playbook is not continuring sometimes because I’m not sure that wait_for is checking the port frequently enough…

Play:

  • name: Start citrusleaf server
    action: service name=citrusleaf pattern=/usr/bin/cld state=started
    tags:

  • StartCL

  • name: Wait for citrusleaf server to start before continuing
    action: wait_for port=3000 delay=200 timeout=5400 state=started
    tags:

  • chill

Jan 24 12:57:16 cl408 ansible-wait_for: Invoked with state=started connect_timeout=5 delay=200 host=127.0.0.1 timeout=5400 port=3000

Its still running now and the port became available two hours ago. Any thing I should do to debug before killing the process?

Thanks,
James

sheepchase:~ jmarcus$ ansible --version
ansible 1.0

Nothing you can really get at.

Not saying I think there is a bug (could be), but I'd try to debug
wait for with the hacking/test-module script, using the debugger if
neccessary, on the system in question.

--Michael

okay sounds good.

Thanks,
James