Added apt-get upgrade and dist-upgrade option
Added version flag (1.1) to updated
apt module.
Added check so that upgrade cannot be used with other options.
Added DPKG options which lardcanoe suggested
Handle 'groups=' (empty string) in user module (Linux)

Makes it possible to remove a user from all but the primary group.

Setting 'groups=' is the equivalent to passing '-G ""' to
useradd/usermod, which is interpreted as "no group" on Linux.
added thirsty option to copy
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
Allow end of line comments in inventory file

See github issue 2702
https://github.com/ansible/ansible/issues/2072
Mac/FreeBSD Network Facts implementation

Uses a generic BSD Network class, which uses ifconfig and
parses crap out of it.  Modifies the Network __new__
implementation to search further down the subclass
tree
Add an example on how to *add* a %wheel line to sudo - tricky as it has
a colon, which needs some special attention.
Add Linux-style path for sudoers file, to be consistent with other examples.
Add support for NetBSD. Tested on NetBSD 6.0/i386.
Fix Python 2.6-isms in sysctl module
Added support for AIX 5.3 and 6.1

A collegue of mine has added basix AIX support to the setup, user and group modules.

We have tested this on AIX 5.3 and 6.1 and it works "as advertised"
Added zfs module
Added zfs example playbook
Adding a simple EC2 volume module for creation and attach
Updated comments and closed code example.
Only allocate a PTY when sudo is used

Postpone the paramiko.Channel.get_pty until we know sudo is used. If
sudo is not used, then we do not need a PTY. In fact, the paramiko docs
explicitly state that it's not desirable to allocate a PTY for a simple
exec_command.

Signed-off-by: martin f. krafft <madduck@madduck.net>
Initialise PTY from calling environment

If we need to acquire a PTY for sudo's use, then it should really
inherit the capabilities of the calling environment. This is what
OpenSSH does, and so it makes sense to copy this behaviour for the
paramiko connection type.

Closes: #2065
Signed-off-by: martin f. krafft <madduck@madduck.net>
The default for install-recommends is actually Yes, not No, as is
visible on line 121