Matt Martz
28939f49f7
Need to check e.errno instead of os.errno. Fixes #8548
10 years ago
James Cammarata
1cc9b6d90b
Break out of loop for sockets in wait_for when there's no data to read
10 years ago
James Cammarata
1abf10a4f6
Merge branch 'wait-for-port-search-regex' of https://github.com/sivel/ansible into sivel-wait-for-port-search-regex
10 years ago
Matt Martz
7ec52c9001
Allow search_regex to be used in wait_for with port
11 years ago
Henry Finucane
898ebf7358
Fail fast in the presence of permissions issues
11 years ago
Henry Finucane
34bf59ac4c
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
9495dda0ab
Amend wait_for docs to reference version of feature addition.
11 years ago
Michael DeHaan
6bc94937ac
Merge branch 'devel' of git://github.com/AnderEnder/ansible into devel
11 years ago
Jeff Geerling
e602d16158
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
29c9922ac5
Adding absent condition for to the wait_for module
11 years ago
James Tanner
4f9aadcc07
Addresses #5023 Fix import comments
11 years ago
James Tanner
38edad70ac
Fixes #5023 Convert all modules to use new snippet import pattern
11 years ago
Junegunn Choi
2663513b5c
Remove Python 2.4-incompatible 'with' statement
11 years ago
John Jarvis
51b9be9bfd
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
6a1d6ee25f
Elapsed time should account for the delay
12 years ago
Jan-Piet Mens
3404a0fc16
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
79015895ba
Standardize docs
12 years ago
Stoned Elipot
e320616974
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
cd97a4cb14
Allow modules to be categorized, and also sort them when generating the documentation.
12 years ago