From 7826119ea7bcbb9bc64adf7df98c924c772754cb Mon Sep 17 00:00:00 2001 From: Ties de Kock Date: Sun, 5 Jan 2020 20:07:11 +0100 Subject: [PATCH] Add basic fedora support (#32) * Add basic fedora support * Add Fedora to metadata, update Changelog --- CHANGELOG.md | 5 +++++ meta/main.yml | 3 +++ tasks/setup-fedora.yml | 8 ++++++++ 3 files changed, 16 insertions(+) create mode 100644 tasks/setup-fedora.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index 8824575..a11dd67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ Changelog --------- +**4.2.0** + +- Add support for Fedora (contribution by @ties) + + **4.1.1** - Install GPG to be able to import WireGuard key (Debian) diff --git a/meta/main.yml b/meta/main.yml index 938896e..0667370 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -14,6 +14,9 @@ galaxy_info: - name: EL versions: - 7 + - name: Fedora + versions: + - 31 galaxy_tags: - networking - security diff --git a/tasks/setup-fedora.yml b/tasks/setup-fedora.yml new file mode 100644 index 0000000..19fddb2 --- /dev/null +++ b/tasks/setup-fedora.yml @@ -0,0 +1,8 @@ +--- + - name: 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