From 66e4a57b201e692c0262eabecf1c5265cf6923cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20M=C3=A4rkle?= Date: Wed, 2 Dec 2020 16:09:55 +0100 Subject: [PATCH] neue Rolle wireguard_server --- roles/wireguard_server/tasks/main.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 roles/wireguard_server/tasks/main.yml diff --git a/roles/wireguard_server/tasks/main.yml b/roles/wireguard_server/tasks/main.yml new file mode 100644 index 0000000..0d528c0 --- /dev/null +++ b/roles/wireguard_server/tasks/main.yml @@ -0,0 +1,16 @@ +--- +- name: (Ubuntu) Update APT package cache + apt: + update_cache: true + +- name: (Ubuntu) Ensure WireGuard DKMS package is removed + apt: + name: + - "wireguard-dkms" + state: absent + +- name: (Ubuntu) Install wireguard package + apt: + name: "wireguard" + state: present +