Alexey Sheplyakov
5f1ac88414
apt_key: fix spurious failure to import a subkey ( #4366 )
...
Importing a (sign only) subkey with apt_key module always fails,
however the actual keyring gets created and contains the correct keys.
Apparently the all_keys function skips the subkeys, hence the problem.
Fixes #4365
2016-08-16 18:01:07 +02:00
mattymo
1f73bef856
Add retries to apt_key with keyserver, fixes #3986 ( #3987 )
...
Public SKS gpg servers frequently are unavailable, but a retry
can mitigate frequent failures.
2016-06-22 07:42:44 +02:00
callipeo
27df98b6fb
Add support for both keyserver and keyring in apt_key
...
Fixes Issue #2996
2016-02-09 19:51:16 +01:00
Evgeny Vereshchagin
d441cb176c
apt-key: convert ids to the 'short' format
...
Fixes:
$ ansible all -m apt_key -a 'state=present id=7A82B743B9B8E46F12C733FA4759FA960E27C0A6 keyserver=hkp://keyserver.ubuntu.com:80' --sudo
127.0.0.1 | SUCCESS => {
"changed": true
}
$ ansible all -m apt_key -a 'state=absent id=7A82B743B9B8E46F12C733FA4759FA960E27C0A6' --sudo
127.0.0.1 | SUCCESS => {
"changed": false
}
$ apt-key export 7A82B743B9B8E46F12C733FA4759FA960E27C0A6
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
...
See https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1481871
2016-01-12 01:11:59 +00:00
Greg DeKoenigsberg
2a5f0bde87
Proper author info for all remaining modules
2015-06-15 15:53:30 -04:00
Dominic Hargreaves
d197f898a5
apt_key documentation: add a note explaining the benefit of including 'id'
2015-05-07 15:49:50 +01:00
Michael DeHaan
3ed1378067
Some more module categorization.
2014-11-04 17:23:22 -05:00