From ef97477ed2be2b6c43a7ef61d3d1abf448a38909 Mon Sep 17 00:00:00 2001 From: Jean-Marie Mineau Date: Thu, 22 Apr 2021 20:49:28 +0200 Subject: [PATCH] install wireguard --- roles/vpn/tasks/main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/roles/vpn/tasks/main.yml b/roles/vpn/tasks/main.yml index 0bd59ea..e69abd1 100644 --- a/roles/vpn/tasks/main.yml +++ b/roles/vpn/tasks/main.yml @@ -4,3 +4,13 @@ repo: deb http://deb.debian.org/debian buster-backports main state: present when: "'debian_buster' in group_names or 'proxmox_buster' in group_names" + +- name: Install wireguard + apt: + name: + - wireguard + state: latest + update_cache: true + register: apt_result + retries: 3 + until: apt_result is succeeded