Use return codes > 255 for Ansible-specific errors.

I had made and pushed this change after you already pulled the request.

@dhozac indicated that it would probably be better to use return codes > 255 for anything related to Ansible itself. Which makes sens :)
Now can handle rc.conf and init.d/rc.d based systems
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
Added config option to control default of asking or not for sudo password
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
Fix service module for varnish initscript in EPEL

It outputs 'dead but pid file exists'.
Merge pull request #1496 from dhozac/varnish-init-script

Fix service module for varnish initscript in EPEL
Added the ansible_ssh_host and ansible_ssh_port variable in the patterns/inventory file
Skip tasks with a with_* that is empty
Make lookup API extensible and allow basedir to be passed

This allows using with_fileglob in play context, e.g.
- include: $item
  with_fileglob: tasks/*.yml
as well as prepares for other data to be passed.
Add a template lookup plugin

Requires that inject be passed to run
Use default port if ansible_ssh_port is not set for the delegated node

Also add testcase for it.
Merge pull request #1505 from dhozac/delegate_to-port

Use default port if ansible_ssh_port is not set for the delegated node
added comment to example config to show usage of new sudo password asking option
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
Pretty-print "msg" when task fails

Several modules (e.g., pip) return stdout and stderr together in a "msg" variable (and the module development docs seem to suggest that the standard practice is to return status in this variable).

This change ensures that it is printed out with correct formatting (most importantly, with newlines appearing as newlines instead of \n).
Return original string for non-matched vars
Add test case for non-existing variable in varReplaceWithItems
Fix installing to virtualenvs.
Added some documentation to the classes
Merge pull request #1508 from dhozac/host_vars-in-include

Return original string for non-matched vars
Merge pull request #1507 from lorin/pretty-print-msg

Pretty-print "msg" when task fails
Merge pull request #1502 from dhozac/improved-lookup-plugins

Improved lookup plugins