ANSIBLE.RPM_KEY(3)

NAME
rpm_key - Adds or removes a gpg key from the rpm db

DESCRIPTION

Adds or removes (rpm --import) a gpg key to your rpm database.

OPTIONS

key Key that will be modified. Can be a url, a file, or a keyid if the key already exists in the database.(required)

state
    Wheather the key will be imported or removed from the rpm db. Choices: present,absent. (default: present)."
    # Example action to import a key from a url
    - rpm_key state=present key=http://apt.sw.be/RPM-GPG-KEY.dag.txt
    # Example action to import a key from a file
    - rpm_key state=present key=/path/to/key.gpg
    # Example action to ensure a key is not present in the db
    - rpm_key state=absent key=DEADB33F

AUTHOR
Hector Acosta <hector.acosta@gazzang.com>

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