Commit Graph

12 Commits (546cacd1726520f564f17e060eac04cc062a7057)

Author SHA1 Message Date
Michael DeHaan 31f6cd6408 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 922899f4be 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 187ab3f918 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 f6d0cc56a0 Fix two misspellings of the apt module's "fail_json" function 13 years ago
Michael DeHaan 9d08eefa9a Also allow the apt module to use package or name as an alias for 'pkg' 13 years ago
Michael DeHaan 8e006f6088 Upgrade apt message if no python-apt to intercept potential user questions. 13 years ago
Matthew Williams f99a7f29e8 apt module bugfix 13 years ago
Michael DeHaan 18852d81f9 have apt module raise an error if apt cannot be imported 13 years ago
Matthew Williams 0ad5fec487 improvements to apt module: state=latest, update-cache=yes|no, purge=yes|no 13 years ago
Matthew Williams bd7710e1b5 trimmed superfluous code from apt module 13 years ago
Matthew Williams b4604b2525 cleaned up apt module style 13 years ago
Matthew Williams 71b503b0c3 preliminary apt module 13 years ago