wait_for port isn't waiting

Hi everyone,

I have a playbook where I am waiting for a port to come up. On certain machines it sometimes doesn’t waits and immediately fails. I’m not certain what is causing this, and I can’t easily reproduce.

Here is the task in the role:

  • name: wait for api to come back up (120 minutes)
    wait_for: port=7778 timeout=7200 delay=61

Here is an example of the task with timestamps: