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"
2012-04-23 00:17:07 +02:00
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"
2012-04-22 02:48:58 +02:00
Daniel Néri
626e8f3543
Fix two misspellings of the apt module's "fail_json" function
2012-04-19 23:40:44 +02:00
Michael DeHaan
8152e44efd
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
529a194950
Upgrade apt message if no python-apt to intercept potential user questions.
2012-04-11 20:31:24 -04:00
Matthew Williams
c819f1715e
apt module bugfix
2012-04-03 12:52:08 -07:00
Michael DeHaan
02d5e831ce
have apt module raise an error if apt cannot be imported
2012-04-02 20:54:31 -04:00
Matthew Williams
9fdd7a837e
improvements to apt module: state=latest, update-cache=yes|no, purge=yes|no
2012-04-02 14:42:54 -07:00
Matthew Williams
e2deb94e73
trimmed superfluous code from apt module
2012-03-26 13:53:22 -07:00
Matthew Williams
e85355f054
cleaned up apt module style
2012-03-26 13:48:02 -07:00
Matthew Williams
90ba14d60e
preliminary apt module
2012-03-26 12:49:13 -07:00