community.general/lib/ansible
Stephen Fromm 300531507b Add method run_command to module_common.py
This adds a helper method that modules can call to execute a command via
subproces.  It takes two arguments: the command to run and
keyword options that control how the process is executed.  Supported
options are: fail_on_rc_non_zero, close_fds, and executable.
fail_on_rc_non_zero will call fail_json if the command fails.  If
args is a list, the command will be run with shell=False; otherwise, if
a string, it will be run with shell=True.  Otherwise, run_command() returns
the returncode, stdout, and stderr.
2013-01-13 08:30:33 -08:00
..
callback_plugins Abort a play at the start when no hosts matches, or no hosts are remaining 2012-10-02 15:54:24 +02:00
inventory Allow pattern[0] to address a single node 2013-01-07 18:20:09 +01:00
playbook Actually allow using connection: on a task 2013-01-06 18:46:34 +01:00
runner Fix raw (no executable) support on -c local 2013-01-13 15:16:13 +01:00
utils Move sudo command making to one common function 2013-01-13 15:16:13 +01:00
__init__.py Updated ansible version to align with RPM package 2012-12-01 16:37:10 +01:00
callbacks.py Change message when a play matches no hosts 2012-12-13 13:31:41 +01:00
color.py Added a ANSIBLE_FORCE_COLOR env var, which forces the color output no matter what ncurses says. 2012-10-06 20:36:07 +02:00
constants.py Set LANG in module_common.py 2012-11-27 00:16:06 -08:00
errors.py Add 'polite' YAML syntax validation and hinting. Closes #798 2012-08-07 18:24:47 -04:00
module_common.py Add method run_command to module_common.py 2013-01-13 08:30:33 -08:00