Return a friendly error message if aptitude isn't installed
openbsd_pkg: handle pkg_add quirks better.

This fixes a problem when trying to install a package with a specific version
number from a local directory and the local directory is checked after a remote
repository:

Error from http://ftp.eu.openbsd.org/pub/OpenBSD/[...]/packagename-1.0.tgz
ftp: Error retrieving file: 404 Not Found
packagename-1.0: ok
openbsd_pkg: Handle another pkg_add gotcha

* Add '-m' to pkg_add incovation to get access to the "packagename-1.0: ok"
  message.
* Watch for that message if we are about to fail because of stderr in
  package_present().
openbsd_pkg: sync package_latest().

This diff syncs package_latest() with the changes to package_present().
I have not managed to figure out how to handle the cornercases where
stderr is set but the command has not failed, so leave a FIXME blob for
other adventurers.
openbsd_pkg: some whitespace cleanup.
apt_repository: enhance documentation
mysql_db small fix to docs
add documentation for with_nested
Update to conventional task format
Create with_items example with a registered var
* Added documentation for Role Variables
* Fixed a few minor typos
Changed shebangs that use /usr/bin/env to use /usr/bin/python and therefore be compatible with the ansible_python_interpreter variable.
Merge pull request #3568 from andrew-todd/devel

Changed shebangs that use /usr/bin/env to use /usr/bin/python and theref...
Resolve incompatability between depth and version

Git is unable to checkout the specified `version` when the repository is
cloned with a reduced history (`depth`).  However, if the repository is
already cloned, subsequent git module calls will update the repository
(default update=True), then properly checkout the specified `version`.
To allow the initial call to properly clone the specified `version`, at
the specified `depth`, this patch adds the `--branch` parameter when
cloning the repository.
now returns fatal error if operation on selinux enabled target is
attempted w/o selinux python bindings
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
switched from sestatus to selinuxenabled as per recommendation
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
Minor typo on site about host_key_checking config section.
Check for existence of isatty on stdout before calling it
fix fatal error when removing logical volumes
Allow roles to be interpolated from --extra-vars