Add a state parameter to the wait_for module.
This takes started, stopped and restarted. Started returns when connecting is possible. Stopped when connecting is not possible. Restarted first waits for connecting to be impossible and returns when it is possible again.
Showing
Please
register
or
sign in
to comment