Commit Graph

17 Commits (eb63b9e899318ce0c26902ca73af50135a6224e4)

Author SHA1 Message Date
Peter Sankauskas 444c02ac82 Assigning to boolean first 13 years ago
Peter Sankauskas 9e850ceba3 Getting the apt module to accept and understand a 'install-recommends' parameter which allows running apt with --no-install-recommends 13 years ago
Nathan A. Feger 9b7e7092a6 Add support for older version of python-apt 13 years ago
Cosmin Luță a5b13fe4ce Added parameter to the apt-get install command to prevent interactive conflict resolution 13 years ago
Stephen Fromm 1144a21668 Apply logging of arguments to modules (issue #122)
The ohai and facter modules use /usr/bin/logger to log the fact that
they have been invoked.  I added 'import os' to the ping module
so that it could have the same syslog statements as the other modules.
I separated the condensed:
    shlex.split(open(argfile, 'r').read())
into two separate statements similar to the other modules.
13 years ago
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