Michael DeHaan
e5ad1febc0
Merge pull request #6793 from muffl0n/patch-4
...
apt_key: Output URL for debugging
2014-04-03 17:35:49 -04:00
Michael DeHaan
89c1e50f7b
Note that keyserver was added in 1.6
2014-04-02 17:18:14 -04:00
Sven Schliesing
ff0d0afb07
Output URL for debugging
2014-04-01 13:55:58 +02:00
Michael DeHaan
8964b2e049
Merge branch 'devel' of git://github.com/leafnode/ansible into devel
...
Conflicts:
library/packaging/apt_key
2014-03-28 13:15:06 -04:00
Michael DeHaan
ec8b67bea8
Merge pull request #6468 from philpep/fix_apt_key
...
apt_key: Fix traceback when key_id format is invalid
2014-03-13 17:58:40 -05:00
James Cammarata
564fbb55de
Fix small typo resulting in a traceback for the apt_key module
2014-03-13 13:51:59 -05:00
Philippe Pepiot
f9d1809a70
apt_key: Fix traceback when key_id format is invalid
...
Signed-off-by: Philippe Pepiot <phil@philpep.org>
2014-03-13 15:28:37 +01:00
Michael DeHaan
e811a9b603
Still more shell fixes.
2014-03-12 17:44:53 -04:00
James Cammarata
c68be8b418
Remove validate_certs parameter from fetch_url calls
2014-03-12 10:31:01 -05:00
James Cammarata
a1b1182662
Validate SSL certs accessed through urllib*
...
* Adds another module utility file which generalizes the
access of urls via the urllib* libraries.
* Adds a new spec generator for common arguments.
* Makes the user-agent string configurable.
Fixes #6211
2014-03-10 16:06:52 -05:00
Danilo Bargen
0d55cca4c3
apt_key module: Case insensitive presence checking
...
Right now key_present() is case sensitive, only uppercase key IDs work. By using "grep -i", lowercase IDs should work too.
2014-01-14 01:11:40 +01:00
Leszek Krupiński
16c1b10541
support for apt-key keyserver parameter
2013-12-08 11:53:33 +01:00
Jens Rantil
c475814519
module(apt_key): don't catch SystemExit
...
If we do this, we risk outputting two JSON payloads, which will be
unparsable.
2013-12-04 13:57:50 +01:00
James Tanner
38edad70ac
Fixes #5023 Convert all modules to use new snippet import pattern
2013-12-02 15:11:23 -05:00
Marcus Cobden
c7dfa16edf
Only remove leading '0x' from key ids, not all 0s
2013-10-30 11:50:34 +00:00
Maykel Moya
a96f75c396
Do key validation only when key is provided
...
key_id is optional, the previous code didn't handle the case of key_id
not specified
2013-10-17 12:04:04 +02:00
Maykel Moya
5d41d2eaa4
apt_key: Validate key_id and accept a leading '0x'
2013-10-16 20:52:18 +02:00
Michael DeHaan
e1e37002c3
Add version_added to new parameter.
2013-08-03 14:22:38 -04:00
Alan Grosskurth
5700970e05
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
Michael DeHaan
3dc560a1a2
Fixup previous apt_key patch to enable file based modes to work.
2013-06-26 14:46:29 -04:00
Michael DeHaan
03f1578768
Merge conflict
2013-06-18 20:18:17 -04:00
Michael DeHaan
538a998d26
Merge branch 'apt_key_file' of git://github.com/veeti/ansible into devel
...
Conflicts:
library/packaging/apt_key
2013-06-18 16:18:31 -04:00
Veeti Paananen
b53982f9d2
Add apt_key examples for file and data
2013-06-17 18:23:40 +03:00
Michael DeHaan
d91ffdef72
Merge pull request #3162 from strawlab/apt-key-binary-fix
...
allow apt-key module to work with binary key
2013-06-16 20:27:10 -07:00
Michael DeHaan
3a9f45d457
Merge pull request #3213 from veeti/apt_key_data
...
Document the data argument for apt_key
2013-06-16 19:39:55 -07:00
Jan-Piet Mens
3404a0fc16
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
2013-06-15 20:54:25 +02:00
Veeti Paananen
e4c4f8ba7d
Add a file argument to apt_key
2013-06-14 14:34:04 +03:00
Veeti Paananen
6a572f3607
Document the data argument for apt_key
2013-06-14 14:32:56 +03:00
Andrew Straw
7d9eb14b2a
allow apt-key module to work with binary key
2013-06-09 20:03:28 +00:00
Michael DeHaan
cd97a4cb14
Allow modules to be categorized, and also sort them when generating the documentation.
2013-04-28 15:03:45 -04:00