Compare commits

...

2 commits

Author SHA1 Message Date
18c328c8aa Update service description 2020-08-23 01:25:46 +02:00
3da5d97020 Update include_vars methode 2020-08-23 01:25:34 +02:00
4 changed files with 5 additions and 6 deletions

View file

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

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<service> <service>
<short>WireGuard</short> <short>WireGuard</short>
<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> <description>Wireguard is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography.</description>
<port protocol="udp" port="{{ wireguard_port }}"/> <port protocol="udp" port="{{ wireguard_port }}"/>
</service> </service>

View file

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