Commit Graph

5 Commits (e992cfd47324b0acaee2d3df01a6da10189ee0d9)

Author SHA1 Message Date
callipeo 27df98b6fb Add support for both keyserver and keyring in apt_key
Fixes Issue #2996
9 years ago
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
9 years ago
Greg DeKoenigsberg 2a5f0bde87 Proper author info for all remaining modules 10 years ago
Dominic Hargreaves d197f898a5 apt_key documentation: add a note explaining the benefit of including 'id' 10 years ago
Michael DeHaan 3ed1378067 Some more module categorization. 10 years ago