From f1b7eb3a17c9906097cbce3c9f069c2b677fd596 Mon Sep 17 00:00:00 2001 From: ace Date: Wed, 13 Jul 2022 18:12:56 +0300 Subject: [PATCH] split wireguard install for el8 and el9 --- tasks/RedHat/wireguard_install.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/RedHat/wireguard_install.yaml b/tasks/RedHat/wireguard_install.yaml index 33688e4..a599c4f 100644 --- a/tasks/RedHat/wireguard_install.yaml +++ b/tasks/RedHat/wireguard_install.yaml @@ -8,7 +8,7 @@ - epel-release state: present - - name: Install kmod wireguard + - name: Install wireguard packages dnf: name: - kmod-wireguard @@ -17,7 +17,7 @@ - name: Install wireguard for RHEL 9 when: ansible_facts['distribution_major_version'] == '9' block: - - name: Install repos + - name: Install wireguard packages dnf: name: - wireguard-tools