James Cammarata
30948ae0dc
Fix accelerate module parameter for IPv6 activation
2013-11-27 09:32:07 -06:00
Junegunn Choi
9c798b119c
Remove Python 2.4-incompatible 'with' statement
2013-11-25 17:01:24 +09:00
jctanner
2855684538
Merge pull request #4780 from mscherer/fix_accelerate_various
...
Fix various warning on accelerate module, found by pyflakes
2013-11-19 12:42:32 -08:00
James Tanner
0ce1123693
Fixes #4851 Set syslog debug mode for accelerate properly
2013-11-18 09:56:12 -05: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
Michael Scherer
ea6567dbf7
fix incorrect send_data call. there is no client variable, and send_data
...
is a class method. Pyflakes complained about it.
2013-11-07 08:11:56 +01:00
Michael Scherer
eb77ca80df
remove unused variable (pyflakes)
2013-11-07 08:11:56 +01:00
Michael Scherer
061394fff7
make pyflakes a bit more silent
...
- explictely import json, since this is used ( only to silence pyflakes)
- remove shutil as it is unused
2013-11-07 08:11:56 +01:00
jctanner
8e105bbfba
Merge pull request #4772 from mscherer/fix_4763
...
Try/finally is a python 2.5 construct, so not working on EL5. Fix #4763
2013-11-04 15:36:02 -08:00
James Tanner
c1ed47933b
Fixes #4485 add an ipv6 parameter to accelerate so that the daemon will bind to an ipv6 port instead of ipv4
2013-11-04 17:20:03 -05:00
Michael DeHaan
83d50b1984
Make it slightly more clear what side of the connection is missing keyczar if using accelerate mode.
2013-11-03 12:46:21 -05:00
Michael DeHaan
334dcfa2fa
Update module documentation.
2013-11-02 09:34:44 -04:00
Michael Scherer
1ef9bed752
Try/finally is a python 2.5 construct, so not working
...
on EL5. Fix #4763
2013-11-02 11:24:29 +01:00
Michael DeHaan
7f125567cb
Some simplification of include_vars and renamed include_files to include_vars.
2013-10-31 19:24:35 -04:00
Michael DeHaan
b69ab89eb1
Merge branch 'include_files' of git://github.com/bennojoy/ansible into devel
2013-10-31 19:14:27 -04:00
Michael Scherer
8efe53eebb
Fix accelerate module on centos 5 by removing
...
unsupported string prefix in 2.4
http://docs.python.org/release/2.4/ref/strings.html
This is also ignored on later version of python 2
and is present only for python 3 conversion, as seen
on http://docs.python.org/2/reference/lexical_analysis.html#string-literals
Also see http://stackoverflow.com/questions/6269765/what-does-the-b-character-do-in-front-of-a-string-literal
Fix https://github.com/ansible/ansible/issues/4739
2013-10-31 21:04:34 +01:00
bennojoy
b53e7353f9
include files
2013-10-28 17:40:09 +05:30
Michael DeHaan
21d4400c96
Misc pep8 fixes
2013-10-19 13:03:15 -04:00
Michael DeHaan
e131de4de0
Added "debug: var=variableName" capability.
2013-10-14 21:01:38 -04:00
James Cammarata
d21714a37f
Fix for network byte order issues in accelerate
2013-10-02 15:37:15 -05:00
James Cammarata
912e3a7b0b
Merge branch 'accelerate_improvements' into devel
...
Conflicts:
library/utilities/accelerate
2013-10-01 21:22:17 -05:00
James Cammarata
fa80a17aa3
Make recv_data less greedy so it doesn't eat other packets
2013-10-01 16:50:32 -05:00
James Cammarata
59a5ce23d9
Adding an accelerate_timeout parameter for plays
...
This setting makes the timeout for each play configurable, rather than
hard-coding it at 300 seconds (now the default if left unspecified)
Fixes #4162
2013-10-01 15:26:50 -05:00
James Cammarata
f9c87868ac
Added keepalive packets to accelerate mode
...
Commands will now be started up in a separate task from the main
handler thread, so that it can be monitored for completeness while
sending a keepalive packet back to the controller to avoid a socket
receive timeout.
2013-10-01 15:19:21 -05:00
James Cammarata
344d8d51ab
Use atomic_move to put the file, rather than shelling out
...
Fixes #4321
2013-10-01 14:47:50 -05:00
James Cammarata
52a42bf607
Add more verbose debugging options for accelerate
2013-09-30 14:08:07 -05:00
Andrey Shorin
ea488f5e05
Make --check mode work with fireball and accelerate connections
2013-09-23 13:51:43 +04:00
Erick Yellott
af7b182958
Typo fix from accelerated: true
to accelerate: true
2013-09-18 16:47:49 -05:00
James Cammarata
20b0dc4abd
Check for an empty executable passed into the accelerate plugin
...
This was breaking at least the script module, so it would seem best
to check for it and set it to the default executable value
2013-09-05 15:11:26 -05:00
James Cammarata
f04af9118e
When putting a file in accelerated mode, make sure it's chowned correctly
2013-09-05 12:04:08 -05:00
James Cammarata
8a016bb374
Adding the facility to the accelerate daemon syslog calls
2013-09-03 11:30:29 -05:00
James Cammarata
d69d5c294f
Renaming fireball2 as 'accelerate' and removing old references
2013-08-30 13:26:27 -05:00
James Cammarata
af1dd7075f
Adding chunked file transfers to fireball2
2013-08-28 11:14:58 -05:00
James Cammarata
959138d00d
Added accelerate_port to plays, and made it configurable
2013-08-28 11:14:58 -05:00
James Cammarata
b45342923c
Initial support for sudoable commands over fireball2
...
Caveats:
* requiretty must be disabled in the sudoers config
* asking for a password doesn't work yet, so any sudoers users must
be configured with NOPASSWD
* if not starting the daemon as root, the user running the daemon
must have sudoers entries to allow them to run the command as the
target sudo_user
2013-08-28 11:14:58 -05:00
James Cammarata
4b552457e7
Bail out correctly if socket.recv gets nothing (indicating a closed socket)
2013-08-28 11:14:58 -05:00
James Cammarata
521e14a3ad
Fireball2 mode working!
2013-08-28 11:14:58 -05:00
Brian Coca
5ca1630b71
updated debug module docs to remove outdated -v requirement (and
...
only_if reference)
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-07-26 10:06:57 -04:00
Michael DeHaan
131c8489d4
Legacy variable usage removed
2013-07-19 09:40:00 -04:00
Jesse Keating
1689001036
Update fail docs for new syntax
...
Use when instead of only_if
Use new variable style
2013-07-08 14:22:05 -07:00
Jesse Keating
d541e68027
Elapsed time should account for the delay
2013-06-27 17:42:33 -07:00
Jan-Piet Mens
30d641094b
Docs: consistently format playbook EXAMPLES
2013-06-17 08:53:46 +02:00
Michael DeHaan
bfcead8c33
Remove reference to non-existant module.
2013-06-16 23:33:49 -04: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
1c4fa2c45e
Doc standardization
2013-06-01 18:42:03 -04:00
Michael DeHaan
e01cdf876c
Docs standardization
2013-06-01 18:40:04 -04: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
0ed403f6ee
Move mail into the notification bucket.
2013-05-05 12:42:09 -04:00
Michael DeHaan
4ce6eca8b3
Slight tweak to set_fact variable documentation to clarify scope info.
2013-04-29 19:15:29 -04:00