Commit graph

21 commits

Author SHA1 Message Date
James Cammarata
64a6ab5fff Removing unused name param for wait_for tcp draining classes
Also updates the version_added and other references to the version
in which the connection draining functionality was added.
2014-08-26 20:36:11 -05:00
Greg Swift
5ecfe884b8 Extend wait_for module to support draining of active tcp connections 2014-08-21 16:15:59 -05:00
Matt Martz
315ac22437 Need to check e.errno instead of os.errno. Fixes #8548 2014-08-11 12:26:52 -05:00
James Cammarata
eb80bd1a56 Break out of loop for sockets in wait_for when there's no data to read 2014-07-14 14:14:13 -05:00
James Cammarata
d80f4cee9d Merge branch 'wait-for-port-search-regex' of https://github.com/sivel/ansible into sivel-wait-for-port-search-regex 2014-07-14 13:16:11 -05:00
Matt Martz
04cd7c233b Allow search_regex to be used in wait_for with port 2014-06-02 07:17:01 -05:00
Henry Finucane
6efc8008da Fail fast in the presence of permissions issues 2014-05-13 09:43:47 -07:00
Henry Finucane
278ecb9b55 Allow wait_for to wait on non-traditional files
Use os.path.exists to check for file existence, instead of "can we open
this file for reading".

Fixes #6710
2014-05-12 23:21:55 -07:00
Michael DeHaan
47aff528b9 Amend wait_for docs to reference version of feature addition. 2014-03-16 17:10:37 -04:00
Michael DeHaan
de57057cae Merge branch 'devel' of git://github.com/AnderEnder/ansible into devel 2014-03-16 17:10:02 -04:00
Jeff Geerling
40e5f641e4 Update wait_for documentation - remove extra quote
The timeout is in seconds (int), and the extra quote at the end could throw someone off if they're copying and pasting the example.
2014-01-27 12:09:54 -06:00
Andrii Radyk
f71e67087f Adding absent condition for to the wait_for module 2013-12-12 10:28:01 +02:00
James Tanner
ad837709bd Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
James Tanner
6000d636b3 Fixes #5023 Convert all modules to use new snippet import pattern 2013-12-02 15:11:23 -05:00
Junegunn Choi
9c798b119c Remove Python 2.4-incompatible 'with' statement 2013-11-25 17:01:24 +09:00
John Jarvis
bf435e2032 Adding more wait conditions to the wait_for module
Adds a new option to wait_for to wait for a file to exist on the file
system before continuing, optionally takes a search_regex param to match
text in the file.
2013-11-12 19:04:38 -05:00
Jesse Keating
d541e68027 Elapsed time should account for the delay 2013-06-27 17:42:33 -07:00
Jan-Piet Mens
5c69918d53 DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition)
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string
  Added deprecation warning to moduledev.rst and remove deprecated example from it
  Fixed up a few typos and uppercased some acronyms.
  add consistency to how EXAMPLES are formatted
2013-06-15 20:54:25 +02:00
Michael DeHaan
fdfba6aa68 Standardize docs 2013-06-01 18:38:16 -04:00
Stoned Elipot
d25888f410 Fix empty requirements specifications in modules documentation
And also be liberal in what ansible-doc accepts as an empty
requirements specification.

While here fix a typo in template module documentation
wrt jinja2 overrides example.
2013-05-16 17:15:21 +02:00
Michael DeHaan
391fb98ee2 Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00
Renamed from library/wait_for (Browse further)