r/dch-selinux: Install dch-selinux package

The *dch-selinux* package contains customized SELinux policy modules.
I haven't worked out exactly how to build an publish it through a
continuous integration pipeline yet, so for now it's just hosted in my
user `public_html` folder on the main file server.
btop
Dustin 2022-12-20 15:19:46 -06:00
parent 5661910a21
commit 4bc587e408
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,6 @@
[dch-selinux]
name=dch-selinux
baseurl=https://files.pyrocufflink.blue/~dustin/dch-selinux/fedora/$releasever/
enabled=1
gpgcheck=0
skip_if_unavailable=True

View File

@ -0,0 +1,16 @@
- name: ensure dch-selinux repository is installed
copy:
src: >-
{{ ansible_distribution }}.repo
dest: /etc/yum.repos.d/dch-selinux.repo
mode: u=rw,go=r
tags:
- yum-repo
- install
- name: ensure dch-selinux is installed
package:
name: dch-selinux
state: present
tags:
- install