Commit Graph

18 Commits (82017ce298808d63827e13876cee8a59a6c7d62a)

Author SHA1 Message Date
Michael Scherer 3a20fc4d0c Fix wait_for to compile on python3 (#3722) 9 years ago
Michael Scherer 0e75317904 Do not use a tuple as argument for _create_connection (#3655) 9 years ago
vaupelt 67de0675c3 exclude_hosts does not work as expected with state=drained
There are established connections for a service. The service is bound to a ipv4-mapped ipv6 address. Wait_for wrongly waits for clients listed in exclude_hosts.
9 years ago
Toshio Kuratomi caf4b759b9 Specify types in argument_spec instead of code so that checking type vs default value does not trigger 9 years ago
Lars Larsson fa2ea225dd total_seconds not present on timedelta on python2.6 9 years ago
Toshio Kuratomi 43cecd3cee Use select in wait_for so that we don't get stuck in cornercases:
* reading from a socket that gave some data we weren't looking for and
  then closed.
* read from a socket that stays open and never sends data.
* reading from a socket that sends data but not the data we're looking
  for.

Fixes #2051
9 years ago
Brian Coca 008caa1ff7 Merge pull request #591 from d3rp/wait_for
Fix 'wait_for' doesn't work with ipv6only host
9 years ago
Greg DeKoenigsberg 2a5f0bde87 Proper author info for all remaining modules 10 years ago
Brian Coca 7810a898e8 sleep when only doing a time delay to avoid cpu churn 10 years ago
Brian Coca 1d6d3fece7 added docs to show wait_for default timeout settings
Fixes #400
10 years ago
Brian Coca cbc1655ba0 Merge pull request #784 from bcoca/wait_for_docs
added missing docs on connection_timeout for wait_for
10 years ago
Gerard Lynch 9967aa6681 wait_for: updated docs, must be resolvable hostname, updated example 10 years ago
Brian Coca 3100236628 added missing docs on connection_timeout for wait_for 10 years ago
Andrey Trubachev 10e48d18f7 Fix python-2.4 compatibility 10 years ago
Andrey Trubachev 659c6d3a7e Fix 'wait_for' doesn't work with ipv6only host 10 years ago
Brian Coca 5af9928996 let implied type do the spliting 10 years ago
Brian Coca d67ac4d33e minor fixes to wait_for to avoid tracebacks as per ansible core issue #9244 10 years ago
Michael DeHaan 0be8798858 Renames. 10 years ago