No description
Find a file
Dag Wieers 988db558b3 Add return code and error output to raw module
Since we use 'raw' heavily on equipment where 'command' and 'shell' are not (yet) working (and python may need to be installed first using raw) these improvements are necessary in order to write more complex scripts (with return code handling and separated stdout/stderr).

This change includes the following changes:

 - exec_command() now returns the return code of the command
 - _low_level_exec_command() now returns a dict, including 'rc', 'stdout' and 'stderr'
 - all users of the above interfaces have been improved to make use of the above changes
 - all connection plugins have been modified to return rc and stderr
 - fix the newline problem (stdout and stderr would have excess newlines)

In a future commit I intend to add assertions or error handling code to verify the return code in those places where it wasn't done. Since only the output was available, the return code was ignored, even though we expect them to be 0.
2012-12-23 18:04:54 +01:00
bin cleanup Example output in ansible-doc 2012-12-14 11:12:26 +01:00
docs/man Merge pull request #1696 from gregorg/enhance_limit 2012-12-12 14:51:44 -08:00
docsite Merge pull request #1747 from njharman/alpharange 2012-12-17 16:52:11 -08:00
examples Make use of yes/no booleans in playbooks 2012-12-14 11:56:53 +01:00
hacking Make use of yes/no booleans in playbooks 2012-12-14 11:56:53 +01:00
lib/ansible Add return code and error output to raw module 2012-12-23 18:04:54 +01:00
library Add return code and error output to raw module 2012-12-23 18:04:54 +01:00
packaging Release stuff 2012-11-30 22:06:25 -05:00
plugins While I haven't done this, it is possible to bring up an instance 2012-11-07 16:56:45 -08:00
test Merge pull request #1747 from njharman/alpharange 2012-12-17 16:52:11 -08:00
.gitignore Fix documentation consistency in .gitignore 2012-10-12 17:37:30 -04:00
CHANGELOG.md Make use of yes/no booleans in playbooks 2012-12-14 11:56:53 +01:00
CONTRIBUTING.md Add a bit more info about tests to CONTRIBUTING 2012-10-21 07:15:30 -04:00
COPYING license file should be in source tree 2012-03-15 20:24:22 -04:00
Makefile CLI: ansible-doc shows lists of modules & module docs on command-line 2012-11-30 21:57:25 -05:00
MANIFEST.in Add some docs/examples 2012-08-14 13:05:44 -04:00
README.md Update website link 2012-09-24 21:56:37 -04:00
RELEASES.txt Get ready to release 0.9 2012-11-30 22:03:31 -05:00
setup.py CLI: ansible-doc shows lists of modules & module docs on command-line 2012-11-30 21:57:25 -05:00
VERSION Get ready to release 0.9 2012-11-30 22:03:31 -05:00

Ansible

Ansible is a radically simple configuration-management, deployment, task-execution, and multinode orchestration framework.

Read the documentation and more at http://ansible.cc

Design Principles

  • Dead simple setup
  • Super fast & parallel by default
  • No server or client daemons; use existing SSHd
  • No additional software required on client boxes
  • Modules can be written in ANY language
  • Awesome API for creating very powerful distributed scripts
  • Be usable as non-root
  • The easiest config management system to use, ever.

Get Involved

Branch Info

  • Releases are named after Van Halen songs.
  • The devel branch corresponds to the release actively under development.
  • Various release-X.Y branches exist for previous releases
  • We'd love to have your contributions, read "CONTRIBUTING.md" for process notes.

Author

Michael DeHaan -- michael.dehaan@gmail.com

http://michaeldehaan.net