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.
17 lines
331 B
YAML
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
|