r/dch-yum: Configure dch Yum repository

The *dch* repository, hosted on *file0.pyrocufflink.blue* and managed by
the *repohost* Ansible role, is where I plan to host RPM packages for
internal use (e.g. *sshca-cli*, *dch-selinux*, etc.).  The *dch-yum*
role configures Yum/dnf to use this repository.  Roles that need to
install a package from here will list this role as a dependency.
chrony
Dustin 2023-11-07 21:22:06 -06:00
parent c6f0ea9720
commit c3f58aff83
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,6 @@
[dch]
name=DCH - Fedora $releasever
baseurl=https://files.pyrocufflink.blue/yum/dch/fedora/$releasever
gpgkey=https://files.pyrocufflink.blue/yum/dch/gnupg.pub
gpgcheck=1
skip_if_unavailable=true

View File

@ -0,0 +1,9 @@
- 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