Fix Fedora support (#93)

Fedora 32 still installs the copr repo and the dkms module. I assume
that is still necessary for Fedora 32, though I have no box to test it
with.

If the user is on Fedora 33 or higher, the default setup-fedora.yml is
used, which no longer installs the copr repo, nor the dkms module since
neither are necessary anymore.
master
Maxim Burgerhout 4 years ago committed by GitHub
parent bb77be4d97
commit 0c6c1b8b80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,20 @@
---
# Copyright (C) 2020 Ties de Kock
# SPDX-License-Identifier: GPL-3.0-or-later
- name: (Fedora) Add WireGuard COPR
yum_repository:
name: "jdoss-wireguard"
description: "Copr repo for WireGuard owned by jdoss"
baseurl: "https://copr-be.cloud.fedoraproject.org/results/jdoss/wireguard/fedora-$releasever-$basearch/"
gpgkey: "https://copr-be.cloud.fedoraproject.org/results/jdoss/wireguard/pubkey.gpg"
gpgcheck: yes
- name: (Fedora) Install WireGuard packages
yum:
name:
- "wireguard-dkms"
- "wireguard-tools"
state: present
tags:
- wg-install

@ -2,18 +2,9 @@
# Copyright (C) 2020 Ties de Kock
# SPDX-License-Identifier: GPL-3.0-or-later
- name: (Fedora) Add WireGuard COPR
yum_repository:
name: "jdoss-wireguard"
description: "Copr repo for WireGuard owned by jdoss"
baseurl: "https://copr-be.cloud.fedoraproject.org/results/jdoss/wireguard/fedora-$releasever-$basearch/"
gpgkey: "https://copr-be.cloud.fedoraproject.org/results/jdoss/wireguard/pubkey.gpg"
gpgcheck: yes
- name: (Fedora) Install WireGuard packages
yum:
name:
- "wireguard-dkms"
- "wireguard-tools"
state: present
tags:

Loading…
Cancel
Save