Commit Graph

18 Commits (f6eae5571a1fca586ebad175e131ad40c17023f0)

Author SHA1 Message Date
Jimmy Tang a4c8d3ee68 This oneliner change allows apt-key to inherit the http_proxy variable.
Before this fix

  TASK: [apt_repository repo='ppa:vbernat/haproxy-1.5'] *************************
  failed: [134.226.115.202] => {"cmd": ["apt-key", "adv", "--recv-keys", "--keyserver", "keyserver.ubuntu.com", "CFFB779AADC995E4F350A060505D97A41C61B9CD"], "failed": true, "rc": 2}
  stderr: gpg: requesting key 1C61B9CD from hkp server keyserver.ubuntu.com
  gpg: no valid OpenPGP data found.
  gpg: Total number processed: 0

After the fix

  TASK: [apt_repository repo='ppa:vbernat/haproxy-1.5'] *************************
  changed: [134.226.115.202]
11 years ago
Alexander Saltanov 2bd6c5e262 Remove options and protocols in source line with regex.
Fixes #4311
11 years ago
René Moser ccf4cf1dd8 Fixed missing required package in notes. 11 years ago
René Moser 9fccf96d61 apt_repository: added option update_cache.
The default behavior is to update_cache if changed.

If you add more then one repo, you may not want to update cache for every repo separately.
So you can now disable update_cache with this new option e.g. update_cache=no

Updating cache can also be handled using the apt module.
11 years ago
René Moser a991b62a51 apt_repository: fix update cache after state=changed. Closes GH-4136 11 years ago
sjahl 4dd68c07a0 setting 0644 permissions on mkstemp file handles. Fixes issue #3857 11 years ago
James Cammarata 10a0f03cdc Cleaning up of apt_repository module and removing wget parts 11 years ago
Michael Vogt de404eac06 use either pycurl or wget to download from launchpad, also improve error message if neither is installed 11 years ago
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 11 years ago
James Cammarata 0958673574 Reverting version_added field in the apt_repository module 11 years ago
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.
11 years ago
Abhijit Menon-Sen 1a90d01ba9 Fix some typos discovered during casual reading 11 years ago
Evan Wies 01fc2b61dc apt_repository: enhance documentation 11 years ago
Jan-Piet Mens 5c69918d53 DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition)
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string
  Added deprecation warning to moduledev.rst and remove deprecated example from it
  Fixed up a few typos and uppercased some acronyms.
  add consistency to how EXAMPLES are formatted
12 years ago
Michael DeHaan 3a635d2d26 Lots of formatting fixes 12 years ago
William Bowling 222f004bfa Fixes apt_repository always reporting file uri repos as changed 12 years ago
Serge van Ginderachter 13a9613bc6 fix a bug in apt-repository where 'ppa' is used in a plain http://ppa. .... url 12 years ago
Michael DeHaan 391fb98ee2 Allow modules to be categorized, and also sort them when generating the documentation. 12 years ago