--- # Copyright (C) 2021-2022 Robert Wimmer # SPDX-License-Identifier: GPL-3.0-or-later - name: (AlmaLinux 8) Install EPEL & ELRepo repository ansible.builtin.yum: name: - epel-release - elrepo-release update_cache: true - name: (AlmaLinux 8) Ensure WireGuard DKMS package is removed ansible.builtin.yum: name: - "wireguard-dkms" state: absent - name: (AlmaLinux 8) Install WireGuard packages ansible.builtin.yum: name: - "kmod-wireguard" - "wireguard-tools" state: present