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.
This commit is contained in:
6
roles/dch-selinux/files/Fedora.repo
Normal file
6
roles/dch-selinux/files/Fedora.repo
Normal 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
|
||||
16
roles/dch-selinux/tasks/main.yml
Normal file
16
roles/dch-selinux/tasks/main.yml
Normal 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
|
||||
Reference in New Issue
Block a user