ANSIBLE.APT_KEY(3)

NAME
apt_key - Add or remove an apt key

DESCRIPTION

Add or remove an apt key, optionally downloading it

OPTIONS

id  identifier of key (default: none)

state
    used to specify if key is being added or revoked Choices: absent,present. (default: present)

url url to retrieve key from. (default: none)."

NOTES

doesn't download the key unless it really needs it

as a sanity check, downloaded key id must match the one specified

best practice is to specify the key id and the url

EXAMPLES

Add an Apt signing key, uses whichever key is at the URL
apt_key: url=https://ftp-master.debian.org/keys/archive-key-6.0.asc state=present

Add an Apt signing key, will not download if present
apt_key: id=473041FA url=https://ftp-master.debian.org/keys/archive-key-6.0.asc state=present

Remove an Apt signing key, uses whichever key is at the URL
apt_key: url=https://ftp-master.debian.org/keys/archive-key-6.0.asc state=absent

Remove a Apt specific signing key
apt_key: id=473041FA state=absent
None

AUTHOR
Jayson Vantuyl & others

SEE ALSO
ansible(1), http://ansible.github.com/modules.html#apt-key