James Cammarata
1cc9b6d90b
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
1abf10a4f6
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
7ec52c9001
Allow search_regex to be used in wait_for with port
2014-06-02 07:17:01 -05:00
Henry Finucane
898ebf7358
Fail fast in the presence of permissions issues
2014-05-13 09:43:47 -07:00
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
2014-05-12 23:21:55 -07:00
Michael DeHaan
9495dda0ab
Amend wait_for docs to reference version of feature addition.
2014-03-16 17:10:37 -04:00
Michael DeHaan
6bc94937ac
Merge branch 'devel' of git://github.com/AnderEnder/ansible into devel
2014-03-16 17:10:02 -04:00
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.
2014-01-27 12:09:54 -06:00
Andrii Radyk
29c9922ac5
Adding absent condition for to the wait_for module
2013-12-12 10:28:01 +02:00
James Tanner
4f9aadcc07
Addresses #5023 Fix import comments
2013-12-02 15:13:49 -05:00
James Tanner
38edad70ac
Fixes #5023 Convert all modules to use new snippet import pattern
2013-12-02 15:11:23 -05:00
Junegunn Choi
2663513b5c
Remove Python 2.4-incompatible 'with' statement
2013-11-25 17:01:24 +09:00
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.
2013-11-12 19:04:38 -05:00
Jesse Keating
6a1d6ee25f
Elapsed time should account for the delay
2013-06-27 17:42:33 -07:00
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
2013-06-15 20:54:25 +02:00
Michael DeHaan
79015895ba
Standardize docs
2013-06-01 18:38:16 -04:00
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.
2013-05-16 17:15:21 +02:00
Michael DeHaan
cd97a4cb14
Allow modules to be categorized, and also sort them when generating the documentation.
2013-04-28 15:03:45 -04:00