Commit Graph

21 Commits (bda2ce6ffdb04f37a920294ca2cc560c8ddebecb)

Author SHA1 Message Date
Nicolas Grilly 75ceb80572 Escape args injected in new style modules
13 years ago
Michael DeHaan af2fb56a10 Changes to allow WANT_JSON to allow JSON to non-Python modules
13 years ago
Michael DeHaan b3eb1f32e3 update hacking/test_module script to be aware of complex arguments, though it does not pass them.
13 years ago
Les Aker ee274b5816 fixed shebang in hacking test-module
13 years ago
Stephen Fromm 6a68d3813f Set LANG in module_common.py
14 years ago
Stephen Fromm 06e54c0b97 Add ability to specify syslog facility for modules
14 years ago
Michael DeHaan ce01c3f7e7 Allow unicode transfer by not base64 encoding. Also: faster
14 years ago
Michael DeHaan 738cea9c93 small tweaks to --help for hacking/test-module
14 years ago
Michael DeHaan fc96b88205 Teach the test-module script about the new way MODULE_ARGS works in new-style modules.
14 years ago
bradobro e8583833a7 test-module uses optparse with --debugger
14 years ago
bradobro ade0233d57 Refactoring test-module to be more like ansible.
14 years ago
Michael DeHaan d0f4358730 Port the copy module over to the new "common module" logic.
14 years ago
Michael DeHaan a94ec130d2 Common module code upgrades
14 years ago
Michael DeHaan 9006d4557d Added code to allow insertion of boilerplate into modules to make them able to share lots of code, the result
14 years ago
Michael DeHaan 867b2437cc consolidate output code in callbacks.py, from utils, remove extra functions
14 years ago
Peter Sankauskas f9a14cfec1 Adding a missing '~' to use the user's home directory instead of the root file system for the module arguments
14 years ago
Michael DeHaan 6341361a5b Clarify that stderr WILL crash your module. Can't redirect because if we do we lose tracebacks
14 years ago
Michael DeHaan 36e454c52f Because paramiko using a pty can't distinguish stderr and stdout, remove handling that
14 years ago
Michael DeHaan 533c2c6126 Make it possible to use facts from hosts in templates for other hosts.
14 years ago
Michael DeHaan be55145a1e Initial crack at the file module
14 years ago
Michael DeHaan a735dd2b17 Added the 'test-module' script, useful for testing modules without running them in Ansible.
14 years ago