diff --git a/tasks/setup-fedora-32.yml b/tasks/setup-fedora-32.yml new file mode 100644 index 0000000..67448be --- /dev/null +++ b/tasks/setup-fedora-32.yml @@ -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 diff --git a/tasks/setup-fedora.yml b/tasks/setup-fedora.yml index 67448be..108e4ce 100644 --- a/tasks/setup-fedora.yml +++ b/tasks/setup-fedora.yml @@ -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: