rpm_key
Collection: builtin
Full Name: parallax.builtin.rpm_key
Aliases: ansible.builtin.rpm_key, rpm_key
Synopsis
Add or remove an RPM signing key from the trusted set
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| key | string | yes | URL or file path to the GPG key to import or remove | |
| state | string | present | Whether the key should be present or absent Choices: present, absent | |
| fingerprint | string | The fingerprint of the GPG key; used to verify the key or identify a key for removal | ||
| validate_certs | bool | true | Whether to validate SSL certificates when downloading a key from a URL |
Example
- name: Trust the EPEL signing key
rpm_key:
key: https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-9
state: present