mirror of
https://gitea.0xace.cc/ansible-galaxy/wireguard-ui.git
synced 2024-11-24 23:36:41 +00:00
add wireguard install with kmod
This commit is contained in:
parent
ba2e09f3aa
commit
b16e523b60
@ -1,3 +1,5 @@
|
|||||||
|
- name: "Include WireGuard install"
|
||||||
|
include_tasks: wireguard_install.yaml
|
||||||
- name: "Include WireGuard UI install with podman"
|
- name: "Include WireGuard UI install with podman"
|
||||||
include_tasks: podman.yaml
|
include_tasks: podman.yaml
|
||||||
when: wireguard_ui_container_engine == 'podman'
|
when: wireguard_ui_container_engine == 'podman'
|
||||||
|
12
tasks/RedHat/wireguard_install.yaml
Normal file
12
tasks/RedHat/wireguard_install.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
- name: Install repos
|
||||||
|
dnf:
|
||||||
|
name:
|
||||||
|
- elrepo-release
|
||||||
|
- epel-release
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: Install kmod wireguard
|
||||||
|
dnf:
|
||||||
|
name:
|
||||||
|
- kmod-wireguard
|
||||||
|
- wireguard-tools
|
Loading…
Reference in New Issue
Block a user