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.
10 lines
179 B
YAML
10 lines
179 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
|