Derek Carter
9a6bcb9481
added filter for future warning
2012-07-10 19:50:08 -04:00
Derek Carter
f4414c0511
fixes #569 apt module problems on old versions of apt-python (namely debian 5.0)
2012-07-10 19:28:14 -04:00
Peter Sankauskas
186e438991
Assigning to boolean first
2012-07-06 18:05:15 -07:00
Peter Sankauskas
3965e268ed
Getting the apt module to accept and understand a 'install-recommends' parameter which allows running apt with --no-install-recommends
2012-07-06 12:12:04 -07:00
Nathan A. Feger
d765ccacd1
Add support for older version of python-apt
2012-06-13 13:57:47 -05:00
Cosmin Luță
0f1d98e46b
Added parameter to the apt-get install command to prevent interactive conflict resolution
2012-05-11 10:54:55 +03:00
Stephen Fromm
67ee30f135
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.
2012-05-09 15:19:20 -07:00
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.
2012-04-27 01:25:38 -04:00
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"
2012-04-23 00:17:07 +02:00
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"
2012-04-22 02:48:58 +02:00
Daniel Néri
f6d0cc56a0
Fix two misspellings of the apt module's "fail_json" function
2012-04-19 23:40:44 +02:00
Michael DeHaan
9d08eefa9a
Also allow the apt module to use package or name as an alias for 'pkg'
2012-04-11 20:45:14 -04:00
Michael DeHaan
8e006f6088
Upgrade apt message if no python-apt to intercept potential user questions.
2012-04-11 20:31:24 -04:00
Matthew Williams
f99a7f29e8
apt module bugfix
2012-04-03 12:52:08 -07:00
Michael DeHaan
18852d81f9
have apt module raise an error if apt cannot be imported
2012-04-02 20:54:31 -04:00
Matthew Williams
0ad5fec487
improvements to apt module: state=latest, update-cache=yes|no, purge=yes|no
2012-04-02 14:42:54 -07:00
Matthew Williams
bd7710e1b5
trimmed superfluous code from apt module
2012-03-26 13:53:22 -07:00
Matthew Williams
b4604b2525
cleaned up apt module style
2012-03-26 13:48:02 -07:00
Matthew Williams
71b503b0c3
preliminary apt module
2012-03-26 12:49:13 -07:00