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 +