Merge pull request #8 from jkleckner/master

Enable tab completion on a Mac
Read ANSIBLE_LIBRARY from environment

If ANSIBLE_LIBRARY is defined in the environment, use it to
set the module path.
Merge pull request #9 from lorin/master

Check for ANSIBLE_LIBRARY environment variable
fix module inclusion path when running from source

The previous search paths assumed that ansible was installed on the
system. This meant that it did not work if running ansible from a
source checkout without installing it via pip (or other means.) More
insidiously, if a user was running from a source checkout, but also
installed ansible in system paths, ansible-shell used the system
version of ansible modules, not the source version.

Rebased to effectively undo Lorin Hochstein's commit cc47d4c. While
that commit also worked I think this version is more correct as it
ensures that ansible-shell module path behavior mirrors that of ansible
itself. ansible uses DEFAULT_MODULE_PATH, not DIST_MODULE_PATH to set
module_path if -M is not used, as shown on line 474 in
lib/ansible/utils/__init__.py
gif
Merge pull request #10 from aboyett/module-path-fix

fix module inclusion path when running from source
remove extra newline
added history
Add option parsing for Ansible's "run as" options

To allow specifying the remote user.

Also change shebang to use env, as Ansible's binaries used on the master
do (`ansible` and `ansible-playbook` -- modules use /usr/bin/python for
remote execution, override-able with `ansible_python_interpreter`).
Add `do` commands for the run-as options
fix spelling mistake
Merge pull request #12 from alisaifee/master

fix spelling mistake
Pretty-print output

Use pprint to pretty-print the results. Useful when the result is
a large Python dictionary from something like the "setup" or
"ec2_facts" modules.
Merge pull request #11 from ches/run-as-options

Add option parsing for Ansible's "run as" options
Merge branch 'master' of git://github.com/lorin/ansible-shell into lorin-master

Conflicts:
	ansible-shell
new release
catch exception
tweak error handling
add timeout to optionparse and ansible runner. This fixes bug reported at #14
allow comments on the cli