No description
Find a file
Jesse Keating 8cef210aea Make sure ssh pipes are empty before moving on
Resolves issue #5082

Code as it was would hit a scenario where one of the FDs was not ready for
reading the first time through -- but p.poll() would show the process as
complete. This would cause ansible to continue on, while leaving some content
left in a pipe.

The other scenario -- the one that causes the unclosed quote, is if we go
through select.select() and we do get stdout in the ready for reading -- we
read from it (9000 bytes), but that's not all that is there. Again we'd get to
the p.poll() check and it would be indeed not none, but we would have left some
of stdout on the FD and thus the json blob would be malformed.

Tested with and without full ssh debugging.
Tested with and without ControlPersist
Tested with and without ControlPersist sockets already created
2013-12-11 21:32:37 -08:00
bin Merge pull request #4817 from j2sol/zero-exit 2013-12-02 10:04:18 -08:00
docs/man Add release history for 1.4.1 into 1.5 branch. 2013-11-27 18:41:07 -05:00
docsite Fix link to playbooks loops 2013-12-08 22:09:54 +01:00
examples Lookup plugin for etcd 2013-10-24 21:28:48 +02:00
hacking Code to limit display of version_added attributions in modules for modules that are too old to call out this information. 2013-11-27 21:34:00 -05:00
lib/ansible Make sure ssh pipes are empty before moving on 2013-12-11 21:32:37 -08:00
library Account for instances that have not yet been registered. Fixes #5076 2013-12-09 19:38:03 -08:00
packaging Merge #4689 from dirtyharrycallahan/ansible 2013-12-04 15:59:01 -05:00
plugins Fix loading from cache in ec2.py inventory plugin. 2013-12-05 21:33:25 -08:00
test Ensure test_command tests are actually correct 2013-12-03 12:03:39 +10:00
.gitignore Update the .gitignore based on the docsite restructuring. 2013-11-27 21:35:43 -05:00
CHANGELOG.md Update CHANGELOG.md 2013-12-10 23:40:11 +02:00
CONTRIBUTING.md correct link to developing modules on ansible work's website 2013-11-18 19:02:51 +00:00
COPYING license file should be in source tree 2012-03-15 20:24:22 -04:00
Makefile fix make tests to use the set of module from git checkout 2013-11-16 12:45:24 +01:00
MANIFEST.in Add some docs/examples 2012-08-14 13:05:44 -04:00
README.md Update README.md 2013-12-01 19:04:20 -05:00
RELEASES.txt Add release history for 1.4.1 into 1.5 branch. 2013-11-27 18:41:07 -05:00
setup.py Add module utils path to setup.py 2013-10-26 15:00:59 -04:00
VERSION Version bump for 1.5 2013-11-21 16:33:23 -05:00

PyPI version

Ansible

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

Read the documentation and more at http://ansibleworks.com/

Many users run straight from the development branch (it's generally fine to do so), but you might also wish to consume a release. You can find instructions here for a variety of platforms. If you want a tarball of the last release, go to http://ansibleworks.com/releases/ and you can also install with pip.

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

  • Read Contributing.md for all kinds of ways to contribute to and interact with the project, including mailing list information and how to submit bug reports and code to Ansible.
  • irc.freenode.net: #ansible

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@ansibleworks.com

AnsibleWorks