Commit Graph

12 Commits (cfb7c94c49ce8fe5f5ec9614f5961a6800969a66)

Author SHA1 Message Date
Michael DeHaan 36e454c52f Because paramiko using a pty can't distinguish stderr and stdout, remove handling that
treated -D as a way to show stderr, and make sure modules don't include things on stderr.
Update docs and test module script to come into line.
13 years ago
Daniel Néri d5f3760acc Add optional "default-release" argument for apt module
The value is passed to apt-get's "-t" option. Useful for installing backports, e.g.:

  ansible webservers -m apt -a "pkg=nginx state=latest default-release=squeeze-backports"
13 years ago
Daniel Néri ec4d5fa287 Add apt module support for installing/removing specific version of package
This uses standard APT syntax, e.g.:

    ansible webservers -m apt -a "pkg=nginx=1.1.19-1 state=installed"
13 years ago
Daniel Néri 626e8f3543 Fix two misspellings of the apt module's "fail_json" function 13 years ago
Michael DeHaan 8152e44efd Also allow the apt module to use package or name as an alias for 'pkg' 13 years ago
Michael DeHaan 529a194950 Upgrade apt message if no python-apt to intercept potential user questions. 13 years ago
Matthew Williams c819f1715e apt module bugfix 13 years ago
Michael DeHaan 02d5e831ce have apt module raise an error if apt cannot be imported 13 years ago
Matthew Williams 9fdd7a837e improvements to apt module: state=latest, update-cache=yes|no, purge=yes|no 13 years ago
Matthew Williams e2deb94e73 trimmed superfluous code from apt module 13 years ago
Matthew Williams e85355f054 cleaned up apt module style 13 years ago
Matthew Williams 90ba14d60e preliminary apt module 13 years ago