Compare commits

..

No commits in common. "18c328c8aa5a2f7fde2b7ee6cd7ff41768590dca" and "c71ca190abd1e3f185303f23fcadc3ec5d5781b4" have entirely different histories.

4 changed files with 6 additions and 5 deletions

View file

@ -2,10 +2,7 @@
- name: WireGuard setup
block:
- name: Include vars for {{ ansible_os_family }}
include_vars: "{{ item }}"
with_first_found:
- "{{ ansible_os_family }}_{{ ansible_distribution_major_version }}.yml"
- "{{ ansible_os_family }}.yml"
include_vars: "{{ ansible_os_family }}_{{ ansible_distribution_major_version }}.yml"
- name: Pre-installation
include_tasks: "install_{{ ansible_os_family }}.yml"

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>WireGuard</short>
<description>Wireguard is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography.</description>
<description>WireGuard is a virtual private network (VPN) solution. It is used to create encrypted point-to-point tunnels between computers. If you plan to provide a VPN service, enable this option.</description>
<port protocol="udp" port="{{ wireguard_port }}"/>
</service>

4
vars/RedHat_8.yml Normal file
View file

@ -0,0 +1,4 @@
---
wireguard_packages:
- kmod-wireguard
- wireguard-tools