Matt Martz
315ac22437
Need to check e.errno instead of os.errno. Fixes #8548
10 years ago
James Cammarata
eb80bd1a56
Break out of loop for sockets in wait_for when there's no data to read
11 years ago
James Cammarata
d80f4cee9d
Merge branch 'wait-for-port-search-regex' of https://github.com/sivel/ansible into sivel-wait-for-port-search-regex
11 years ago
Matt Martz
04cd7c233b
Allow search_regex to be used in wait_for with port
11 years ago
Henry Finucane
6efc8008da
Fail fast in the presence of permissions issues
11 years ago
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
11 years ago
Michael DeHaan
47aff528b9
Amend wait_for docs to reference version of feature addition.
11 years ago
Michael DeHaan
de57057cae
Merge branch 'devel' of git://github.com/AnderEnder/ansible into devel
11 years ago
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.
11 years ago
Andrii Radyk
f71e67087f
Adding absent condition for to the wait_for module
11 years ago
James Tanner
ad837709bd
Addresses #5023 Fix import comments
11 years ago
James Tanner
6000d636b3
Fixes #5023 Convert all modules to use new snippet import pattern
11 years ago
Junegunn Choi
9c798b119c
Remove Python 2.4-incompatible 'with' statement
11 years ago
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.
11 years ago
Jesse Keating
d541e68027
Elapsed time should account for the delay
12 years ago
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
12 years ago
Michael DeHaan
fdfba6aa68
Standardize docs
12 years ago
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.
12 years ago
Michael DeHaan
391fb98ee2
Allow modules to be categorized, and also sort them when generating the documentation.
12 years ago