Commit Graph

45 Commits (0aba811cf2fd007f5ff9db1a288e19ef0de30f56)

Author SHA1 Message Date
Josh Mandel 6250b64ef9 Use relative creates/removes path with chdir
13 years ago
Seth Vidal f02ea15f0c command: make sure that all _handle_aliases() calls returns {}
13 years ago
Stephen Fromm 4eaee3df0a Various cleanup to run_command
14 years ago
Stephen Fromm 3fb21a5281 Update modules to use run_command in module_common.py
14 years ago
Jan-Piet Mens caf003c813 DOCUMENTATION strings
14 years ago
Michael DeHaan 663a8fef3f chmod -x for all module files in source checkout
14 years ago
Felix Ingram e0f0e8c023 Add an "executable" option to the command and shell modules
14 years ago
Dag Wieers 8d4f9febd8 Use return codes > 255 for Ansible-specific errors.
14 years ago
Dag Wieers 63fa33b0b7 Make sure we always return 'rc' from the command module
14 years ago
Daniel Hokka Zakrisson 73cd3ef617 Only strip trailing newlines from output, preserving other space
14 years ago
Jan-Piet Mens feab57e270 Reformat code: examples consistently
14 years ago
Michael DeHaan f67aa85c3f Fixing various module related things.
14 years ago
Michael DeHaan 85a31616de Call os.path.expanduser in the creates= and removes= section of the command module so ~/ and the like works.
14 years ago
Michael DeHaan 6600f7b7ac Merge pull request #1170 from jpmens/docspatch01
14 years ago
Daniel Hokka Zakrisson 6477bdc6fc Use a regexp to filter out arguments instead
14 years ago
Jan-Piet Mens e620fed755 Jumbo DOCUMENTATION patch
14 years ago
Daniel Hokka Zakrisson 9261d3962b Properly parse escaped special arguments
14 years ago
Jan-Piet Mens e0fb264a89 Module DOCUMENTATION: assemble, authorized_key, command, copy
14 years ago
Marco Vito Moscaritolo 2dd430d9c0 Add support to removes control param
14 years ago
willthames 8b8eae7d82 Allow ~ expansion in chdir argument of command module
14 years ago
Michael DeHaan c93df29249 Make a more logical error when the command/shell module is used with no arguments.
14 years ago
Michael DeHaan 7ab0d60b1a update config code
14 years ago
Michael DeHaan 75bbd73173 Fix indentation
14 years ago
Michael DeHaan 477ca2ed1a Make pep8 tests run against the library directory as well, and associated tweaks (mostly to indentation) in the library
14 years ago
Michael DeHaan ce01c3f7e7 Allow unicode transfer by not base64 encoding. Also: faster
14 years ago
Michael DeHaan 8700de964c Teach the common module code to warn users about typo'd arguments and also set everything to None automatically such
14 years ago
Petros Moisiadis 4ad0ff61e5 added a 'chdir' argument to the command module
14 years ago
Michael DeHaan 45354c6be5 Port command module over to new common code. Notice that this has to subclass AnsibleModule -- this should be the only
14 years ago
Stephen Fromm aea022b002 Apply logging of arguments to modules (issue #122)
14 years ago
Michael DeHaan 38c7f1db4d Added 'creates=filename' to the shell/command module, which can skip command execution if a file
14 years ago
Michael DeHaan 40fd778e2c 'shell' is a magic module that executes the command module with shell=True
14 years ago
Michael DeHaan 696b67f935 Fix async to use the new argfiles method (wrapping brain around rock, really must write module development guide)
14 years ago
Seth Vidal 1f53c89b14 convert so they handle argsfiles rather than arguments
14 years ago
Michael DeHaan c86b388812 Strip trailing newlines from command module, which happens in some shell commands
14 years ago
Michael DeHaan c8b1bbc7ea make command module error when no -a more obvious as command is the default module and someone
14 years ago
Michael DeHaan 847846af0e -p has been replaced by a required option. Various docs changes.
14 years ago
Michael DeHaan 19fdb7305d have command module raise an error if no arguments are supplied
14 years ago
Michael DeHaan 7de661dd2c Add ansible command, fix import error in runner
14 years ago
Michael DeHaan be4cb64c92 Relicensing to GPLv3, all previous committers ok'd on mailing list.
14 years ago
Seth Vidal 39f42cfd75 when it is an IOError or an OSError - return a normal error message instead of a traceback barf
14 years ago
Michael DeHaan b44ae0af90 applying indentation patch from skvidal
14 years ago
Michael DeHaan 440bac4a95 Added remote templating engine using jinja2, see examples/playbook.yml for usage.
14 years ago
Jeremy Katz 24e10dc2e8 Don't use a shell and thus avoid a whole class of problems
14 years ago
Jeremy Katz ef8ea13495 Fall back to standalone simplejson module
14 years ago
Michael DeHaan a2a8deaeaa Added command module
14 years ago