Files
configpolicy/roles/dch-yum/tasks/main.yml
Dustin C. Hatch 5af25bcccf r/dch-yum: Trust GPG key
We need to explicitly add the GPG signing key for the _dch_ repository
to the system trust store, otherwise, _dnf-automatic_ will fail, as it
cannot implicitly add new keys during an update.
2025-10-27 12:54:07 -05:00

17 lines
331 B
YAML

- name: ensure dch yum repository is configured
copy:
src: dch.repo
dest: /etc/yum.repos.d/dch.repo
owner: root
group: root
mode: u=rw,go=r
tags:
- repo
- name: ensure dch rpm gpg key is trusted
rpm_key:
key: https://files.pyrocufflink.blue/yum/dch/gnupg.pub
state: present
tags:
- rpm-key