James Cammarata
b3c0e3e45e
Revert "Styling: deprecation"
...
This reverts commit ecc2b6e742
.
Fixes #4069
2013-09-09 15:17:43 -05:00
Michael DeHaan
8ec806905d
Merge pull request #3942 from jocelynj/gem
...
Correctly handle option user_install in gem module
2013-08-27 06:00:06 -07:00
James Cammarata
a8984a6b2b
Minor text corrections in the yum module documentation
2013-08-24 21:46:41 -05:00
Jocelyn Jaubert
f958a5ac81
Correctly handle option user_install in gem module
2013-08-24 22:49:18 +02:00
Hiroaki Nakamura
aa9e05baa2
Add description and examples for the name parameter accepts a url or a local path to a rpm file.
2013-08-25 02:30:41 +09:00
James Cammarata
1d98e7bc05
Cleaning up some pep8 issues in the pkgutil module
2013-08-22 20:21:02 -05:00
James Cammarata
dfbe1132d2
Merge branch 'allow_wildcard_yum' of https://github.com/mscherer/ansible into mscherer-allow_wildcard_yum
2013-08-22 16:20:10 -05:00
James Cammarata
12f2caeed6
Merge branch 'pacman_local_plus_check' of https://github.com/mivok/ansible into mivok-pacman_support_check_mode
2013-08-22 14:45:54 -05:00
James Cammarata
de4ed11fa6
Merge branch 'pacman_support_check_mode' of https://github.com/mivok/ansible into mivok-pacman_support_check_mode
2013-08-22 14:29:56 -05:00
James Cammarata
ae98a025bb
Minor doc fixes for the pkgutil module
2013-08-20 21:08:56 -05:00
Alexander Winkler
59c7ef2afa
Added module pkgutil
2013-08-20 21:08:56 -05:00
sjahl
4dd68c07a0
setting 0644 permissions on mkstemp file handles. Fixes issue #3857
2013-08-18 11:03:43 -04:00
Mark Harrison
a347bfa2bb
Merge branch 'pacman_local' into pacman_local_plus_check
...
Conflicts:
library/packaging/pacman
2013-08-17 17:56:33 -04:00
Mark Harrison
0419fb74bb
Support check mode with pacman module
2013-08-17 17:44:41 -04:00
Mark Harrison
f52a1c8f46
Allow installation of local packages with pacman
2013-08-17 14:46:16 -04:00
Michael Scherer
472654447c
Allow to use '*test*' in enablerepo for yum action
...
Yum commandline permit to use a wildcard to enable and disable
repositories in the --enablerepo switch, permitting to enable
a complete set of repository at once ( like all rpmfusion, all
update-testing, etc ).
However, this doesn't work in yum due to more stringent checks
that verify that a exact match is given for the name of the
repository , see commit 5c26805.
This commit enhance the check by permitting to test more than
1 repository at a time, thus permitting to use wildcards.
2013-08-17 18:43:53 +02:00
James Cammarata
10a0f03cdc
Cleaning up of apt_repository module and removing wget parts
2013-08-13 16:11:03 -05:00
Michael Vogt
de404eac06
use either pycurl or wget to download from launchpad, also improve error message if neither is installed
2013-08-13 14:39:47 -05:00
Michael Vogt
5e56d42ed1
use pycurl instead of urllib2 when talking to launchpad to actually get SSL cert verification, see https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/915210 or CVE-2011-4407 for a previous similar issue in software-properties
2013-08-13 14:39:47 -05:00
James Cammarata
0958673574
Reverting version_added field in the apt_repository module
2013-08-13 09:53:49 -05:00
Alexander Saltanov
ded947008a
Replacement for apt_repository.
...
1. Debian Squeeze is supported out of box now.
2. Repository type "deb" or "deb-src" should be explicitly specified.
3. If a source had beed added it must be possible to remove it.
4. PPA can be only used against Ubuntu hosts.
2013-08-13 09:53:49 -05:00
James Cammarata
6feb4e3837
Fail apt package install when nothing is matched by the fnmatch pattern
...
Related to PR #3823
2013-08-12 11:26:31 -05:00
Michael Vogt
5c39c659e5
add support for fnmatch() style apt filenames
...
You can write a apt action like "- apt: pkg=apt*" with this package.
2013-08-12 16:11:15 +02:00
Abhijit Menon-Sen
1a90d01ba9
Fix some typos discovered during casual reading
2013-08-11 18:41:23 +05:30
Alan Grosskurth
b950f9456a
apt: Run remove commands noninteractively
...
I'm seeing ansible hang when trying to remove a package, and the hung
process is `whiptail` like in #2763 . It looks like we only use
`APT_ENVVARS` and `DPKG_OPTIONS` for the `apt` commands in install()
and upgrade(). This change uses them in remove() as well, which fixes
the hang.
2013-08-05 15:20:45 -07:00
Michael DeHaan
de14995b8c
PEP8: fix spacing
2013-08-03 14:55:38 -04:00
Michael DeHaan
40e447fbd4
Merge pull request #3718 from hacosta/rpm_key
...
Add rpm_key module
2013-08-03 11:39:10 -07:00
Michael DeHaan
caa825b618
Rename option to 'recurse' to make it consistent. Add version_added to docs.
2013-08-03 14:27:11 -04:00
Michael DeHaan
74cde56b60
Merge pull request #3636 from uggedal/pacman-remove-recursive
...
Pacman module: recursive remove support
2013-08-03 11:26:15 -07:00
Michael DeHaan
4f9d330242
Add version_added to new parameter.
2013-08-03 14:22:38 -04:00
Michael DeHaan
996dbb72eb
Merge pull request #3662 from grosskur/apt-key-keyring-param
...
apt_key: Add 'keyring' parameter
2013-08-03 11:21:52 -07:00
Hector Acosta
c62210ce37
Add rpm_key module
...
This module can be used to import public keys into your rpm database.
Signed-off-by: Hector Acosta <hector.acosta@gmail.com>
2013-07-31 15:55:38 -05:00
Alan Grosskurth
5ccc7e7277
apt_key: Add 'keyring' parameter
...
The apt-key command takes an optional --keyring parameter representing
the path to a specific GPG keyring to operate on. If it's not given,
the command operates on all keyring files, i.e., /etc/apt/trusted.gpg
and /etc/apt/trusted.gpg.d/*.gpg.
This change adds a 'keyring' parameter to the apt_key module and
propagates it down to the apt-key command line. The main use case this
supports is organizing keys for third-party repos into individual
keyrings in /etc/apt/trusted.gpg.d, rather than putting them all in
the default keyring.
2013-07-24 18:10:17 -07:00
Andreas Kaiser
f2e3fa9508
Fix pkgin search (yielding wrong results under certain conditions, see inline comments).
2013-07-24 16:18:14 +02:00
Eivind Uggedal
35b918359b
Pacman module: recursive remove support
2013-07-23 15:01:13 +02:00
Michael DeHaan
a35370a766
Fix prev feature commit, Do not require aptitude to use apt commands in the apt module, only needed when upgrading.
2013-07-22 15:15:55 -04:00
Michael DeHaan
5e02759570
Merge pull request #3617 from dermute/devel
...
svr4pkg doesn't work on Sol10
2013-07-22 04:37:10 -07:00
Michael DeHaan
7961a81b3f
Update docs to add version_added attribute.
2013-07-21 11:12:04 -04:00
Michael DeHaan
32b3c59bad
Merge pull request #3400 from diko4096/patch-1
...
Update gem
2013-07-21 08:10:27 -07:00
Michael DeHaan
e1167d6977
tweak indentation for 'make pep8'
2013-07-20 12:48:11 -04:00
Patrik Lundin
3f93367579
openbsd_pkg: Use ansible run_command().
...
This fixes an asterisk glob problem in get_package_state() where a file
in /root/ could cause shell expansion if it matched the package name.
The actual problem is solved by running with shell=False.
2013-07-20 17:45:07 +02:00
Michael DeHaan
f4b1e426ea
Merge pull request #3379 from serenecloud/devel
...
Return a friendly error message if aptitude isn't installed
2013-07-19 07:36:39 -07:00
Michael DeHaan
6aa1ecbc30
Merge pull request #3493 from eest/openbsd_pkg-fixes
...
openbsd_pkg corner case fixes
2013-07-19 07:30:18 -07:00
Michael DeHaan
0bd8935899
Merge pull request #3515 from neomantra/apt_repository
...
apt_repository: enhance documentation
2013-07-19 07:06:05 -07:00
Alexander Winkler
52321c1557
fixes ansible/ansible#3547
2013-07-16 09:17:57 +02:00
Michael DeHaan
fa9635478b
Fixing your YAML Seth :)
2013-07-15 13:16:37 -04:00
Seth Vidal
81940c8b11
add examples for yum: state=latest name=*
2013-07-13 14:29:04 -04:00
Seth Vidal
7216a2b169
add a '*' option for name to state=latest to do a global update
2013-07-13 14:28:52 -04:00
Evan Wies
01fc2b61dc
apt_repository: enhance documentation
2013-07-12 15:03:37 -04:00
Patrik Lundin
1b08da26fd
openbsd_pkg: some whitespace cleanup.
2013-07-10 21:23:10 +02:00