mirror of
https://gitea.0xace.cc/ansible-galaxy/wireguard-ui.git
synced 2025-06-28 18:53:08 +00:00
split wireguard install for el8 and el9
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
- name: Install wireguard for RHEL 8
|
||||
when: distribution_major_version == '8'
|
||||
when: ansible_facts['distribution_major_version'] == '8'
|
||||
block:
|
||||
- name: Install repos
|
||||
dnf:
|
||||
@ -15,7 +15,7 @@
|
||||
- wireguard-tools
|
||||
|
||||
- name: Install wireguard for RHEL 9
|
||||
when: distribution_major_version == '9'
|
||||
when: ansible_facts['distribution_major_version'] == '9'
|
||||
block:
|
||||
- name: Install repos
|
||||
dnf:
|
||||
|
Reference in New Issue
Block a user