Name |
Last commit
|
Last update |
---|---|---|
bin | ||
docs/man | ||
docsite | ||
examples | ||
hacking | ||
lib/ansible | ||
library | ||
packaging | ||
plugins | ||
test | ||
.gitignore | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
COPYING | ||
MANIFEST.in | ||
Makefile | ||
README.md | ||
RELEASES.txt | ||
VERSION | ||
setup.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.
Name |
Last commit
|
Last update |
---|---|---|
bin | Loading commit data... | |
docs/man | Loading commit data... | |
docsite | Loading commit data... | |
examples | Loading commit data... | |
hacking | Loading commit data... | |
lib/ansible | Loading commit data... | |
library | Loading commit data... | |
packaging | Loading commit data... | |
plugins | Loading commit data... | |
test | Loading commit data... | |
.gitignore | Loading commit data... | |
CHANGELOG.md | Loading commit data... | |
CONTRIBUTING.md | Loading commit data... | |
COPYING | Loading commit data... | |
MANIFEST.in | Loading commit data... | |
Makefile | Loading commit data... | |
README.md | Loading commit data... | |
RELEASES.txt | Loading commit data... | |
VERSION | Loading commit data... | |
setup.py | Loading commit data... |